broadcom/compiler: handle array of structs in GS/FS inputs
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Fri, 19 Nov 2021 18:07:24 +0000 (19:07 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 22 Nov 2021 09:32:50 +0000 (09:32 +0000)
commit7b21635057d90fd182467346d9b3be6a4d80d17d
treee0a93f51fca3002c0e124cf38a01882494b0df46
parentc5a42e401036eb2eecf8798c103f8ae2cce08eab
broadcom/compiler: handle array of structs in GS/FS inputs

While fragment and geometry shader were handling structs as inputs, they
weren't doing for it arrays of structures.

This fixes multiple dEQP-VK.pipeline.interface_matching.* failures and
assertions.

v2:
 - Fix style (Iago).

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13884>
src/broadcom/compiler/nir_to_vir.c