diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-22 00:28:37 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:24 +0200 |
commit | e4e1cc11b8f7649171fe922b2899e57120bfba53 (patch) | |
tree | 5aaac48ac64018bcaa5f7faf17c4eff886d29b12 /src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp | |
parent | shader: Implement FADD32I (diff) | |
download | yuzu-e4e1cc11b8f7649171fe922b2899e57120bfba53.tar yuzu-e4e1cc11b8f7649171fe922b2899e57120bfba53.tar.gz yuzu-e4e1cc11b8f7649171fe922b2899e57120bfba53.tar.bz2 yuzu-e4e1cc11b8f7649171fe922b2899e57120bfba53.tar.lz yuzu-e4e1cc11b8f7649171fe922b2899e57120bfba53.tar.xz yuzu-e4e1cc11b8f7649171fe922b2899e57120bfba53.tar.zst yuzu-e4e1cc11b8f7649171fe922b2899e57120bfba53.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp index c3180a9bd..343d91032 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp @@ -24,7 +24,7 @@ void FMNMX(TranslatorVisitor& v, u64 insn, const IR::F32& src_b) { const IR::U1 pred{v.ir.GetPred(fmnmx.pred)}; const IR::F32 op_a{v.ir.FPAbsNeg(v.F(fmnmx.src_a_reg), fmnmx.abs_a != 0, fmnmx.negate_a != 0)}; - const IR::F32 op_b = v.ir.FPAbsNeg(src_b, fmnmx.abs_b != 0, fmnmx.negate_b != 0); + const IR::F32 op_b{v.ir.FPAbsNeg(src_b, fmnmx.abs_b != 0, fmnmx.negate_b != 0)}; const IR::FpControl control{ .no_contraction{false}, |