1
0
Fork 0
forked from suyu/suyu

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.
This commit is contained in:
ReinUsesLisp 2020-04-28 17:14:53 -03:00
parent e895a4e2d7
commit 871aadbe36

View file

@ -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);