From: Marek Olšák Date: Sat, 5 Nov 2022 07:45:20 +0000 (-0400) Subject: nir: skip nir_op_unpack_32_4x8 in nir_lower_alu_width X-Git-Tag: upstream/23.3.3~12270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b80bd582650b518b72c65f4ff9ba39cd0f0e7d49;p=platform%2Fupstream%2Fmesa.git nir: skip nir_op_unpack_32_4x8 in nir_lower_alu_width The pass can't handle it just like the other unpack opcodes and generates invalid NIR. Reviewed-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Faith Ekstrand Reviewed-by: Timur Kristóf Reviewed-by: Rhys Perry Part-of: --- diff --git a/src/compiler/nir/nir_lower_alu_width.c b/src/compiler/nir/nir_lower_alu_width.c index c75fc75..9b1b3d0 100644 --- a/src/compiler/nir/nir_lower_alu_width.c +++ b/src/compiler/nir/nir_lower_alu_width.c @@ -328,6 +328,7 @@ lower_alu_instr_width(nir_builder *b, nir_instr *instr, void *_data) case nir_op_unpack_64_2x32: case nir_op_unpack_64_4x16: case nir_op_unpack_32_2x16: + case nir_op_unpack_32_4x8: case nir_op_unpack_double_2x32_dxil: return NULL;