diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-12 02:15:44 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:27 +0200 |
commit | 2516829e4cfa30378ce049a8c66dee9b3482d673 (patch) | |
tree | 5cb5e798cb3345701d334660036ea0fdb4582516 /src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp | |
parent | spirv: Define StorageImageWriteWithoutFormat capability when used (diff) | |
download | yuzu-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/translate/impl/integer_to_integer_conversion.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp | 2 |
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 |