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 07:30:09 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:23 +0200
commite0389286165805258fa2e54014c2dc506ffb9f35 (patch)
treed7830153aac3a2ad93fd93f8b74516bbeb8f3718 /src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp
parentshader: Make IMNMX, SHR, SEL stylistically more consistent (diff)
downloadyuzu-e0389286165805258fa2e54014c2dc506ffb9f35.tar
yuzu-e0389286165805258fa2e54014c2dc506ffb9f35.tar.gz
yuzu-e0389286165805258fa2e54014c2dc506ffb9f35.tar.bz2
yuzu-e0389286165805258fa2e54014c2dc506ffb9f35.tar.lz
yuzu-e0389286165805258fa2e54014c2dc506ffb9f35.tar.xz
yuzu-e0389286165805258fa2e54014c2dc506ffb9f35.tar.zst
yuzu-e0389286165805258fa2e54014c2dc506ffb9f35.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 5303db612..40f14ab8a 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)};
+ const IR::U1 pred{v.ir.GetPred(imnmx.pred)};
const IR::U32 op_a{v.X(imnmx.src_reg)};
IR::U32 min;
IR::U32 max;