OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 6 Mar 2019 20:39:34 +0000 (20:39 +0000)
commit3481eafb8a22bac39d98144ebea9eb254aed7586
tree1cec8ee3d56de4e3c1ed4371cb15acad35283632
parent6fb3cec8bc55d140e12c5161ad5e404baa698e6f
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>
(cherry picked from commit 1a93fc382b18ee6d1135952d23f0b6a8aa8cd31f)
src/compiler/nir/nir_gather_xfb_info.c