mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
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:
parent
f1580acefb
commit
66e8886a68
1 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue