mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
glsl: support array wildcards in lower named interface blocks
Will be required with the change in the following patch. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27669>
This commit is contained in:
parent
ec240e2cd8
commit
4c11119825
1 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,8 @@ process_derefs(nir_builder *b, nir_deref_instr **p, nir_deref_instr *parent)
|
|||
} else {
|
||||
parent = nir_build_deref_struct(b, parent, (*p)->strct.index);
|
||||
}
|
||||
} else if ((*p)->deref_type == nir_deref_type_array_wildcard) {
|
||||
parent = nir_build_deref_array_wildcard(b, parent);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue