From 86c0217ee9d5797df44129e115a0bb11936543a6 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 11 Jul 2019 16:36:50 +0200 Subject: [PATCH] zink: add more compares Acked-by: Jordan Justen --- src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 1 + 1 file changed, 1 insertion(+) 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 8f96393154b..e55fe449f6b 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 @@ -839,6 +839,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu) BINOP(nir_op_fmul, SpvOpFMul) BINOP(nir_op_fdiv, SpvOpFDiv) BINOP(nir_op_fmod, SpvOpFMod) + BINOP(nir_op_ilt, SpvOpSLessThan) BINOP(nir_op_ige, SpvOpSGreaterThanEqual) BINOP(nir_op_ieq, SpvOpIEqual) BINOP(nir_op_ine, SpvOpINotEqual) -- 2.30.2