From: Mike Blumenkrantz Date: Wed, 10 Jun 2020 14:04:36 +0000 (-0400) Subject: zink: add ult handling for ntv X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=957d8e26582fd9397207f44977302e5a3810b849;p=mesa.git zink: add ult handling for ntv fixes shaders@glsl-vs-absolutedifference-uint piglit test Reviewed-by: Erik Faye-Lund Part-of: --- 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 2460b479db1..d821ae2277d 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 @@ -1284,6 +1284,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu) BINOP(nir_op_fmod, SpvOpFMod) BINOP(nir_op_ilt, SpvOpSLessThan) BINOP(nir_op_ige, SpvOpSGreaterThanEqual) + BINOP(nir_op_ult, SpvOpULessThan) BINOP(nir_op_uge, SpvOpUGreaterThanEqual) BINOP(nir_op_flt, SpvOpFOrdLessThan) BINOP(nir_op_fge, SpvOpFOrdGreaterThanEqual)