mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
SCC fix
This commit is contained in:
parent
fb47a12b63
commit
74e6637714
@ -570,6 +570,7 @@ void Translator::S_ABSDIFF_I32(const GcnInst& inst) {
|
||||
const IR::U32 src1{GetSrc(inst.src[1])};
|
||||
const IR::U32 result{ir.IAbs(ir.ISub(src0, src1))};
|
||||
SetDst(inst.dst[0], result);
|
||||
ir.SetScc(ir.INotEqual(result, ir.Imm32(0)));
|
||||
}
|
||||
|
||||
} // namespace Shader::Gcn
|
||||
|
Loading…
Reference in New Issue
Block a user