mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 04:15:01 +00:00
shader_recompiler: Fix V_CMP_U_F32 (#2082)
This commit is contained in:
parent
7bf467c653
commit
86038e6a71
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ void Translator::V_CMP_F32(ConditionOp op, bool set_exec, const GcnInst& inst) {
|
||||||
case ConditionOp::GE:
|
case ConditionOp::GE:
|
||||||
return ir.FPGreaterThanEqual(src0, src1);
|
return ir.FPGreaterThanEqual(src0, src1);
|
||||||
case ConditionOp::U:
|
case ConditionOp::U:
|
||||||
return ir.LogicalNot(ir.LogicalAnd(ir.FPIsNan(src0), ir.FPIsNan(src1)));
|
return ir.LogicalOr(ir.FPIsNan(src0), ir.FPIsNan(src1));
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue