nir: add filter parameter to nir_lower_array_deref_of_vec
To be used by latter commits to limit the lowering to specific variables. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29799>
This commit is contained in:
@@ -323,7 +323,7 @@ preprocess_nir(nir_shader *nir)
|
||||
nir_var_function_temp, 2);
|
||||
|
||||
NIR_PASS(_, nir, nir_lower_array_deref_of_vec,
|
||||
nir_var_mem_ubo | nir_var_mem_ssbo,
|
||||
nir_var_mem_ubo | nir_var_mem_ssbo, NULL,
|
||||
nir_lower_direct_array_deref_of_vec_load);
|
||||
|
||||
NIR_PASS(_, nir, nir_lower_frexp);
|
||||
|
||||
Reference in New Issue
Block a user