aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMike Blumenkrantz <[email protected]>2020-06-12 10:19:56 -0400
committerMarge Bot <[email protected]>2020-06-26 14:07:35 +0000
commit90d34558488effc988d11e692ecf870084a6f709 (patch)
treeddbfe6053dd298f8744c67d4b7d13f17d95798a6 /src/gallium/drivers
parent957d8e26582fd9397207f44977302e5a3810b849 (diff)
zink: add bitfield_reverse handling to ntv
fixes several piglit tests 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.c1
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 d821ae2277d..553213bf94d 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
@@ -1197,6 +1197,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
UNOP(nir_op_f2u32, SpvOpConvertFToU)
UNOP(nir_op_i2f32, SpvOpConvertSToF)
UNOP(nir_op_u2f32, SpvOpConvertUToF)
+ UNOP(nir_op_bitfield_reverse, SpvOpBitReverse)
#undef UNOP
case nir_op_inot: