diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-28 17:14:53 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-28 17:14:53 -0300 |
commit | 871aadbe36b7480f7dc318e2a8bebb064a1fbaaf (patch) | |
tree | 88d075681c46f0201f5194028e3aac27750328fa /src | |
parent | e895a4e2d7ebf29fbafda7d950301cd7d03efdbb (diff) |
shader/arithmetic_integer: Fix tracking issue in temporary
This temporary is not needed as we mark Rd.CC + IADD.X as unimplemented.
It caused issues when tracking global buffers.
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/shader/decode/arithmetic_integer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/shader/decode/arithmetic_integer.cpp b/src/video_core/shader/decode/arithmetic_integer.cpp index ced5c3dc1..a041519b7 100644 --- a/src/video_core/shader/decode/arithmetic_integer.cpp +++ b/src/video_core/shader/decode/arithmetic_integer.cpp @@ -50,10 +50,6 @@ u32 ShaderIR::DecodeArithmeticInteger(NodeBlock& bb, u32 pc) { } if (instr.generates_cc) { - // Avoid changing result's carry flag - SetTemporary(bb, 0, std::move(value)); - value = GetTemporary(0); - const Node i0 = Immediate(0); Node zero = Operation(OperationCode::LogicalIEqual, value, i0); |