mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-02 05:17:52 +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
1 changed files with 0 additions and 4 deletions
|
@ -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 a new issue