From b80bd582650b518b72c65f4ff9ba39cd0f0e7d49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sat, 5 Nov 2022 03:45:20 -0400 Subject: [PATCH] nir: skip nir_op_unpack_32_4x8 in nir_lower_alu_width MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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: --- src/compiler/nir/nir_lower_alu_width.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.7.4