gallium/ttn: IN/OUT are only array if ArrayID != 0
authorRob Clark <robclark@freedesktop.org>
Fri, 26 Jun 2015 23:11:53 +0000 (19:11 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 3 Jul 2015 12:56:09 +0000 (08:56 -0400)
commit29addf50e038d7323a7ac8093d93422c28ad8635
tree0b20d6093bd037e96a7528ebdce7b157e9e9755f
parentfc73f8ab8cd3975993546b5e0312d595b76d03be
gallium/ttn: IN/OUT are only array if ArrayID != 0

Fixes issue with gallium HUD.  See this thread for details:
http://lists.freedesktop.org/archives/mesa-dev/2015-June/087140.html

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/nir/tgsi_to_nir.c