mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 20:36:16 +00:00
shader_recompiler: Exclude non-float results from output modifiers. (#1016)
This commit is contained in:
parent
8811cc5cc6
commit
a18419dd73
2 changed files with 9 additions and 7 deletions
|
@ -569,8 +569,7 @@ void Translator::V_ADDC_U32(const GcnInst& inst) {
|
|||
const IR::U32 scarry = IR::U32{ir.Select(carry, ir.Imm32(1), ir.Imm32(0))};
|
||||
const IR::U32 result = ir.IAdd(ir.IAdd(src0, src1), scarry);
|
||||
|
||||
const IR::VectorReg dst_reg{inst.dst[0].code};
|
||||
ir.SetVectorReg(dst_reg, result);
|
||||
SetDst(inst.dst[0], result);
|
||||
|
||||
const IR::U1 less_src0 = ir.ILessThan(result, src0, false);
|
||||
const IR::U1 less_src1 = ir.ILessThan(result, src1, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue