nir/xfb: Handle compact arrays in gather_xfb_info
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Feb 2019 22:34:27 +0000 (16:34 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 21 Feb 2019 00:08:42 +0000 (00:08 +0000)
commit1a93fc382b18ee6d1135952d23f0b6a8aa8cd31f
tree67af5b236528d32b2038f72e269ce0073f6436ef
parent558c3145045f1c6da8bddb31ed77a418ab27f2f9
nir/xfb: Handle compact arrays in gather_xfb_info

This makes us properly handle gl_ClipDistance and gl_CullDistance.

Fixes: 19064b8c "nir: Add a pass for gathering transform feedback info"
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/nir/nir_gather_xfb_info.c