mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
zink: use OpFUnordNotEqual for nir_op_fne
we want to detect NaNs here, and OpFUnordNotEqual is the variant which does this Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5562>
This commit is contained in:
parent
765de33d3c
commit
e35b8971a7
1 changed files with 1 additions and 1 deletions
|
|
@ -1291,7 +1291,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
|
|||
BINOP(nir_op_flt, SpvOpFOrdLessThan)
|
||||
BINOP(nir_op_fge, SpvOpFOrdGreaterThanEqual)
|
||||
BINOP(nir_op_feq, SpvOpFOrdEqual)
|
||||
BINOP(nir_op_fne, SpvOpFOrdNotEqual)
|
||||
BINOP(nir_op_fne, SpvOpFUnordNotEqual)
|
||||
BINOP(nir_op_ishl, SpvOpShiftLeftLogical)
|
||||
BINOP(nir_op_ishr, SpvOpShiftRightArithmetic)
|
||||
BINOP(nir_op_ushr, SpvOpShiftRightLogical)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue