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 <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19399>
This commit is contained in:
@@ -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_2x32:
|
||||||
case nir_op_unpack_64_4x16:
|
case nir_op_unpack_64_4x16:
|
||||||
case nir_op_unpack_32_2x16:
|
case nir_op_unpack_32_2x16:
|
||||||
|
case nir_op_unpack_32_4x8:
|
||||||
case nir_op_unpack_double_2x32_dxil:
|
case nir_op_unpack_double_2x32_dxil:
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user