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:
Timothy Arceri 2024-02-16 17:16:20 +11:00 committed by Marge Bot
parent ec240e2cd8
commit 4c11119825

View file

@ -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);
}
}