mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-28 17:28:26 +00:00
shader_recompiler: Fix V_CMP_U_F32 (#2082)
This commit is contained in:
parent
7bf467c653
commit
86038e6a71
|
@ -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…
Reference in a new issue