mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08: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) {
|
if (instr.generates_cc) {
|
||||||
// Avoid changing result's carry flag
|
|
||||||
SetTemporary(bb, 0, std::move(value));
|
|
||||||
value = GetTemporary(0);
|
|
||||||
|
|
||||||
const Node i0 = Immediate(0);
|
const Node i0 = Immediate(0);
|
||||||
|
|
||||||
Node zero = Operation(OperationCode::LogicalIEqual, value, i0);
|
Node zero = Operation(OperationCode::LogicalIEqual, value, i0);
|
||||||
|
Loading…
Reference in New Issue
Block a user