mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-23 13:05:38 +00:00
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:
parent
e895a4e2d7
commit
871aadbe36
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue