etnaviv: compiler: Call nir_lower_alu_width(..)

Lowers nir_op_pack/nir_op_unpack ALU Instructions.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34692>
This commit is contained in:
Christian Gmeiner 2025-04-24 11:30:16 +02:00 committed by Marge Bot
parent 68a89bb085
commit 2193ae0253

View file

@ -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) {