From aa2ff0261bb795f4acb15bc9f7341826226aa04e Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Thu, 22 May 2025 19:58:44 +0300 Subject: [PATCH] ir3: enable lower_pack_64_4x16 The compiler won't be able to emit pack_64_4x16. Fix infinite optimization loop caused in nir_opt_algebraic caused by it. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13223 Signed-off-by: Dmitry Baryshkov Part-of: --- src/freedreno/ir3/ir3_compiler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedreno/ir3/ir3_compiler.c b/src/freedreno/ir3/ir3_compiler.c index 8766110977c..b4bb7b30dd4 100644 --- a/src/freedreno/ir3/ir3_compiler.c +++ b/src/freedreno/ir3/ir3_compiler.c @@ -99,6 +99,7 @@ static const nir_shader_compiler_options ir3_base_options = { .lower_unpack_unorm_4x8 = true, .lower_unpack_unorm_2x16 = true, .lower_pack_split = true, + .lower_pack_64_4x16 = true, .lower_to_scalar = true, .has_imul24 = true, .has_icsel_eqz32 = true,