diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-03 10:16:09 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:26 +0200 |
commit | ca7ebdc471cfd9549b15f8ae5523c6fdddca57e3 (patch) | |
tree | 79155a804e9f599e279c80f4003f742eda777217 /src | |
parent | shader: Fix undetected bug from review (diff) | |
download | yuzu-ca7ebdc471cfd9549b15f8ae5523c6fdddca57e3.tar yuzu-ca7ebdc471cfd9549b15f8ae5523c6fdddca57e3.tar.gz yuzu-ca7ebdc471cfd9549b15f8ae5523c6fdddca57e3.tar.bz2 yuzu-ca7ebdc471cfd9549b15f8ae5523c6fdddca57e3.tar.lz yuzu-ca7ebdc471cfd9549b15f8ae5523c6fdddca57e3.tar.xz yuzu-ca7ebdc471cfd9549b15f8ae5523c6fdddca57e3.tar.zst yuzu-ca7ebdc471cfd9549b15f8ae5523c6fdddca57e3.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cpp index 487198aa6..b39950c84 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cpp @@ -68,17 +68,15 @@ void TranslatorVisitor::FADD32I(u64 insn) { union { u64 raw; BitField<55, 1, u64> ftz; - BitField<53, 1, u64> neg_b; + BitField<56, 1, u64> neg_a; BitField<54, 1, u64> abs_a; BitField<52, 1, u64> cc; - BitField<56, 1, u64> neg_a; + BitField<53, 1, u64> neg_b; BitField<57, 1, u64> abs_b; - BitField<50, 1, u64> sat; } const fadd32i{insn}; - FADD(*this, insn, fadd32i.sat != 0, fadd32i.cc != 0, fadd32i.ftz != 0, FpRounding::RN, - GetFloatImm32(insn), fadd32i.abs_a != 0, fadd32i.neg_a != 0, fadd32i.abs_b != 0, - fadd32i.neg_b != 0); + FADD(*this, insn, false, fadd32i.cc != 0, fadd32i.ftz != 0, FpRounding::RN, GetFloatImm32(insn), + fadd32i.abs_a != 0, fadd32i.neg_a != 0, fadd32i.abs_b != 0, fadd32i.neg_b != 0); } } // namespace Shader::Maxwell |