From: Erik Faye-Lund Date: Thu, 18 Jul 2019 16:42:20 +0000 (+0200) Subject: zink/spirv: use ordered compares X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04bb08ed35bc251990aa948b1132253bcd86c765;p=mesa.git zink/spirv: use ordered compares Acked-by: Jordan Justen --- diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index 11eb56e9d7b..3cef61b6463 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -854,8 +854,8 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu) BINOP(nir_op_ige, SpvOpSGreaterThanEqual) BINOP(nir_op_ieq, SpvOpIEqual) BINOP(nir_op_ine, SpvOpINotEqual) - BINOP(nir_op_flt, SpvOpFUnordLessThan) - BINOP(nir_op_fge, SpvOpFUnordGreaterThanEqual) + BINOP(nir_op_flt, SpvOpFOrdLessThan) + BINOP(nir_op_fge, SpvOpFOrdGreaterThanEqual) BINOP(nir_op_feq, SpvOpFOrdEqual) BINOP(nir_op_fne, SpvOpFOrdNotEqual) BINOP(nir_op_ishl, SpvOpShiftLeftLogical)