diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-03-21 04:42:56 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:24 +0200 |
commit | a77e764726938a26803fa90a9c69ccdd32ab09cd (patch) | |
tree | dbc22cd8ba43dbb8f6458dca40ad078e317eb755 /src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp | |
parent | shader: Fix floating point comparison for FP16 (diff) | |
download | yuzu-a77e764726938a26803fa90a9c69ccdd32ab09cd.tar yuzu-a77e764726938a26803fa90a9c69ccdd32ab09cd.tar.gz yuzu-a77e764726938a26803fa90a9c69ccdd32ab09cd.tar.bz2 yuzu-a77e764726938a26803fa90a9c69ccdd32ab09cd.tar.lz yuzu-a77e764726938a26803fa90a9c69ccdd32ab09cd.tar.xz yuzu-a77e764726938a26803fa90a9c69ccdd32ab09cd.tar.zst yuzu-a77e764726938a26803fa90a9c69ccdd32ab09cd.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp index 1d28c0531..7f1f4b88c 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp @@ -76,6 +76,7 @@ void TranslatorVisitor::HSET2_reg(u64 insn) { BitField<35, 4, FPCompareOp> compare_op; BitField<28, 2, Swizzle> swizzle_b; } const hset2{insn}; + HSET2(*this, insn, GetReg20(insn), hset2.bf != 0, hset2.ftz != 0, hset2.neg_b != 0, hset2.abs_b != 0, hset2.compare_op, hset2.swizzle_b); } |