mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 18:30:09 +01:00
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:
parent
e3195c5a70
commit
c323918492
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue