From: Mike Blumenkrantz Date: Fri, 12 Jun 2020 14:19:56 +0000 (-0400) Subject: zink: add bitfield_reverse handling to ntv X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90d34558488effc988d11e692ecf870084a6f709;p=mesa.git zink: add bitfield_reverse handling to ntv fixes several piglit tests 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 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: