diff options
author | Mike Blumenkrantz <[email protected]> | 2020-06-12 10:19:56 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-26 14:07:35 +0000 |
commit | 90d34558488effc988d11e692ecf870084a6f709 (patch) | |
tree | ddbfe6053dd298f8744c67d4b7d13f17d95798a6 /src/gallium/drivers | |
parent | 957d8e26582fd9397207f44977302e5a3810b849 (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.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 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: |