v3d/compiler: handle compact varyings
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 21 Jul 2020 08:01:34 +0000 (10:01 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 27 Jul 2020 06:25:57 +0000 (08:25 +0200)
commit71d5c19241876e899d37dfe23efd25b23553d5e0
treed54d615cb4a97143eb898f6d858577821732714d
parent17fd191eed53d0b2e599dabe38ce8e503161853c
v3d/compiler: handle compact varyings

We are going to need this in Vulkan because the SPIR-V compiler
defines clip distances as a single compact array of scalars, so
our compiler needs to know what to do with them.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6022>
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_nir_lower_io.c