diff options
author | Mike Blumenkrantz <[email protected]> | 2020-06-10 10:04:36 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-26 14:07:35 +0000 |
commit | 957d8e26582fd9397207f44977302e5a3810b849 (patch) | |
tree | 5d195d9f7cd72d4df972a2131dbfd201fd697a99 /src/gallium/drivers | |
parent | 2159aa0c49e1935438b96ff5c56bcce3e292dfad (diff) |
zink: add ult handling for ntv
fixes shaders@glsl-vs-absolutedifference-uint piglit test
Reviewed-by: Erik Faye-Lund <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5562>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |