summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-01 06:25:15 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:22 +0200
commitbec7d3111d3de2a7a8384b1e761bc3692afef9c7 (patch)
tree9439129aa03a181b411da1da2a8cf28e6f5b5d79 /src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp
parentshader: Implement ICMP (diff)
downloadyuzu-bec7d3111d3de2a7a8384b1e761bc3692afef9c7.tar
yuzu-bec7d3111d3de2a7a8384b1e761bc3692afef9c7.tar.gz
yuzu-bec7d3111d3de2a7a8384b1e761bc3692afef9c7.tar.bz2
yuzu-bec7d3111d3de2a7a8384b1e761bc3692afef9c7.tar.lz
yuzu-bec7d3111d3de2a7a8384b1e761bc3692afef9c7.tar.xz
yuzu-bec7d3111d3de2a7a8384b1e761bc3692afef9c7.tar.zst
yuzu-bec7d3111d3de2a7a8384b1e761bc3692afef9c7.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp
index 12c6aae3d..5303db612 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp
@@ -23,7 +23,7 @@ void IMNMX(TranslatorVisitor& v, u64 insn, const IR::U32& op_b) {
throw NotImplementedException("IMNMX.MODE");
}
- IR::U1 pred = v.ir.GetPred(imnmx.pred);
+ IR::U1 pred{v.ir.GetPred(imnmx.pred)};
const IR::U32 op_a{v.X(imnmx.src_reg)};
IR::U32 min;
IR::U32 max;