zink: add bitfield_reverse handling to ntv

fixes several piglit tests

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5562>
This commit is contained in:
Mike Blumenkrantz
2020-06-12 10:19:56 -04:00
committed by Marge Bot
parent 957d8e2658
commit 90d3455848
@@ -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: