nir/lower_indirect_derefs: Use the direct array deref for recursion
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 31 May 2016 22:02:10 +0000 (15:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 4 Jun 2016 02:29:28 +0000 (19:29 -0700)
commit45542f554ca01b00b3d4674cf90575dff7904736
tree79becb969cc650b3c3f7f4dd5282e6c916c9dc6a
parent59f06ac3892fefd55b8f1371b48f9e0d99cc7c23
nir/lower_indirect_derefs: Use the direct array deref for recursion

This fixes about 100 of the new Vulkan CTS tests.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/compiler/nir/nir_lower_indirect_derefs.c