mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 21:55:46 +00:00
shader: Fix floating point comparison for FP16
This commit is contained in:
parent
e10d9c1b8e
commit
27fb97377e
5 changed files with 54 additions and 30 deletions
|
@ -72,7 +72,7 @@ bool IsCompareOpOrdered(FPCompareOp op) {
|
|||
}
|
||||
}
|
||||
|
||||
IR::U1 FloatingPointCompare(IR::IREmitter& ir, const IR::F32& operand_1, const IR::F32& operand_2,
|
||||
IR::U1 FloatingPointCompare(IR::IREmitter& ir, const IR::F16F32F64& operand_1, const IR::F16F32F64& operand_2,
|
||||
FPCompareOp compare_op, IR::FpControl control) {
|
||||
const bool ordered{IsCompareOpOrdered(compare_op)};
|
||||
switch (compare_op) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue