From 2193ae0253e5ce72dd1b353ab4e9b5e574a8dd9c Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Thu, 24 Apr 2025 11:30:16 +0200 Subject: [PATCH] etnaviv: compiler: Call nir_lower_alu_width(..) Lowers nir_op_pack/nir_op_unpack ALU Instructions. Signed-off-by: Christian Gmeiner Part-of: --- src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c index 95865ebcc33..906c60915f1 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c +++ b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c @@ -1247,6 +1247,7 @@ etna_compile_shader(struct etna_shader_variant *v) NIR_PASS(_, s, nir_lower_vars_to_ssa); NIR_PASS(_, s, nir_lower_indirect_derefs, nir_var_all, UINT32_MAX); NIR_PASS(_, s, etna_nir_lower_texture, &v->key); + NIR_PASS(_, s, nir_lower_alu_width, NULL, NULL); NIR_PASS(_, s, nir_lower_alu_to_scalar, etna_alu_to_scalar_filter_cb, c->info); if (c->info->halti >= 2) {