gallium/ttn: partial fix for output arrays
authorRob Clark <robclark@freedesktop.org>
Sat, 27 Jun 2015 13:58:28 +0000 (09:58 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 30 Jun 2015 16:13:44 +0000 (12:13 -0400)
commit6082515de7c7b4885bd685d88aee32fc9e5103a1
tree3b8471f6253a35cc91678fc286d98108f1c4031c
parentdc7e6463d3ec6980f1517ff10048e0dbf5bb38ad
gallium/ttn: partial fix for output arrays

It isn't quite yet practical to enable TGSI_ANY_INOUT_DECL_RANGE shader
cap yet, at least not in drivers that need lower_to_scalar pass (which
right now is all of the ttn users), since the register arrays do not get
converted to SSA, which angers nir_lower_alu_to_scalar.

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