pco: add early nir opt pass

Signed-off-by: Simon Perretta <simon.perretta@imgtec.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
Simon Perretta 2025-06-02 15:15:57 +01:00 committed by Marge Bot
parent e3195c5a70
commit c323918492

View file

@ -526,6 +526,8 @@ void pco_preprocess_nir(pco_ctx *ctx, nir_shader *nir)
nir_split_array_vars,
nir_var_function_temp | nir_var_shader_temp);
pco_nir_opt(ctx, nir);
NIR_PASS(_,
nir,
nir_lower_indirect_derefs,