mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 15:48:39 +00:00
SCC fix
This commit is contained in:
parent
fb47a12b63
commit
74e6637714
1 changed files with 1 additions and 0 deletions
|
@ -570,6 +570,7 @@ void Translator::S_ABSDIFF_I32(const GcnInst& inst) {
|
||||||
const IR::U32 src1{GetSrc(inst.src[1])};
|
const IR::U32 src1{GetSrc(inst.src[1])};
|
||||||
const IR::U32 result{ir.IAbs(ir.ISub(src0, src1))};
|
const IR::U32 result{ir.IAbs(ir.ISub(src0, src1))};
|
||||||
SetDst(inst.dst[0], result);
|
SetDst(inst.dst[0], result);
|
||||||
|
ir.SetScc(ir.INotEqual(result, ir.Imm32(0)));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Shader::Gcn
|
} // namespace Shader::Gcn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue