brw: nir_lower_constant_convert_alu_types only once
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40762>
This commit is contained in:
Alyssa Rosenzweig 2025-11-12 14:19:18 -05:00 committed by Caio Oliveira
parent 154d3b5812
commit e22cdebfdc

View file

@ -1955,7 +1955,6 @@ brw_nir_optimize(brw_pass_tracker *pt)
LOOP_OPT(nir_opt_intrinsics);
LOOP_OPT_NOT_IDEMPOTENT(nir_opt_algebraic);
LOOP_OPT(nir_lower_constant_convert_alu_types);
LOOP_OPT(nir_opt_constant_folding);
LOOP_OPT(nir_opt_dead_cf);
@ -2203,6 +2202,7 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir,
OPT(nir_normalize_cubemap_coords);
OPT(nir_lower_global_vars_to_local);
OPT(nir_lower_constant_convert_alu_types);
OPT(nir_split_var_copies);
OPT(nir_split_struct_vars, nir_var_function_temp);