mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-26 01:24:29 +01:00
[amdgpu] shader: fix LG int comparison
This commit is contained in:
parent
4a5faf3252
commit
01918f23ae
|
|
@ -640,7 +640,11 @@ Value doCmpOp(Fragment &fragment, TypeId type, spirv::Value src0,
|
|||
}
|
||||
break;
|
||||
case CmpKind::LG:
|
||||
cmp = fragment.builder.createFOrdNotEqual(boolT, src0, src1);
|
||||
if (type.isFloatPoint()) {
|
||||
cmp = fragment.builder.createFOrdNotEqual(boolT, src0, src1);
|
||||
} else {
|
||||
cmp = fragment.builder.createINotEqual(boolT, src0, src1);
|
||||
}
|
||||
break;
|
||||
case CmpKind::GE:
|
||||
if (type.isFloatPoint()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue