summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-12 02:15:44 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:27 +0200
commit2516829e4cfa30378ce049a8c66dee9b3482d673 (patch)
tree5cb5e798cb3345701d334660036ea0fdb4582516 /src/shader_recompiler/frontend/maxwell
parentspirv: Define StorageImageWriteWithoutFormat capability when used (diff)
downloadyuzu-2516829e4cfa30378ce049a8c66dee9b3482d673.tar
yuzu-2516829e4cfa30378ce049a8c66dee9b3482d673.tar.gz
yuzu-2516829e4cfa30378ce049a8c66dee9b3482d673.tar.bz2
yuzu-2516829e4cfa30378ce049a8c66dee9b3482d673.tar.lz
yuzu-2516829e4cfa30378ce049a8c66dee9b3482d673.tar.xz
yuzu-2516829e4cfa30378ce049a8c66dee9b3482d673.tar.zst
yuzu-2516829e4cfa30378ce049a8c66dee9b3482d673.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp
index 2f1a58805..53e8d8923 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp
@@ -105,6 +105,8 @@ void I2I(TranslatorVisitor& v, u64 insn, const IR::U32& src_a) {
if (i2i.cc != 0) {
v.SetZFlag(v.ir.GetZeroFromOp(result));
v.SetSFlag(v.ir.GetSignFromOp(result));
+ v.ResetCFlag();
+ v.ResetOFlag();
}
}
} // Anonymous namespace