diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-14 07:23:56 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:23 +0200 |
commit | 8d470c2e63c2dac334ccff2bcda9a0607ce76377 (patch) | |
tree | e97594278b6f4877a2350550be4727b8c4934248 /src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp | |
parent | shader: Fix rebase issue (diff) | |
download | yuzu-8d470c2e63c2dac334ccff2bcda9a0607ce76377.tar yuzu-8d470c2e63c2dac334ccff2bcda9a0607ce76377.tar.gz yuzu-8d470c2e63c2dac334ccff2bcda9a0607ce76377.tar.bz2 yuzu-8d470c2e63c2dac334ccff2bcda9a0607ce76377.tar.lz yuzu-8d470c2e63c2dac334ccff2bcda9a0607ce76377.tar.xz yuzu-8d470c2e63c2dac334ccff2bcda9a0607ce76377.tar.zst yuzu-8d470c2e63c2dac334ccff2bcda9a0607ce76377.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp index 21cb80d67..f254ecb3a 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp @@ -88,7 +88,7 @@ void FCMP(TranslatorVisitor& v, u64 insn, const IR::U32& src_a, const IR::F32& o const IR::F32 zero{v.ir.Imm32(0.0f)}; const IR::F32 neg_zero{v.ir.Imm32(-0.0f)}; - IR::FpControl control{.fmz_mode{fcmp.ftz != 0 ? IR::FmzMode::FTZ : IR::FmzMode::None}}; + const IR::FpControl control{.fmz_mode{fcmp.ftz != 0 ? IR::FmzMode::FTZ : IR::FmzMode::None}}; const IR::U1 cmp_result{FloatingPointCompare(v.ir, operand, zero, fcmp.compare_op, control)}; const IR::U32 src_reg{v.X(fcmp.src_reg)}; const IR::U32 result{v.ir.Select(cmp_result, src_reg, src_a)}; |