pco: support indirect function temp refs

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-02-18 18:57:58 +00:00 committed by Marge Bot
parent f1580acefb
commit 66e8886a68

View file

@ -500,6 +500,12 @@ void pco_preprocess_nir(pco_ctx *ctx, nir_shader *nir)
NIR_PASS(_, nir, nir_lower_vars_to_ssa);
NIR_PASS(_,
nir,
nir_lower_indirect_derefs,
nir_var_function_temp,
UINT32_MAX);
NIR_PASS(_, nir, nir_opt_idiv_const, 32);
NIR_PASS(_,
nir,