mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
v3dv: don't lower indirect derefs on output variables
Our backend compiler can handle this for all supported shader stages now. Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10723>
This commit is contained in:
parent
0235ed18a7
commit
9f5481cf78
1 changed files with 1 additions and 2 deletions
|
|
@ -379,8 +379,7 @@ preprocess_nir(nir_shader *nir,
|
|||
/* Lower a bunch of stuff */
|
||||
NIR_PASS_V(nir, nir_lower_var_copies);
|
||||
|
||||
NIR_PASS_V(nir, nir_lower_indirect_derefs, nir_var_shader_in |
|
||||
nir_var_shader_out, UINT32_MAX);
|
||||
NIR_PASS_V(nir, nir_lower_indirect_derefs, nir_var_shader_in, UINT32_MAX);
|
||||
|
||||
NIR_PASS_V(nir, nir_lower_indirect_derefs,
|
||||
nir_var_function_temp, 2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue