nir: Handle compact variables when assigning i/o locations
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 14 May 2019 12:08:46 +0000 (14:08 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 8 Jul 2019 12:14:53 +0000 (14:14 +0200)
commitdd81d8808d30459592a1fff2673e768951426364
tree72fb8670867c16257969ea526bf51331ba5bab57
parentfd5ed6b9d6ab5e905a10c2033007ca478c33e1af
nir: Handle compact variables when assigning i/o locations

These are used in Vulkan for clip/cull distances, instead of the GLSL
lowering when the clip/cull arrays are shared.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/nir/nir_linking_helpers.c