vc4: Fix assumption of TGSI OUT[0] being POSITION in the VS.
authorEric Anholt <eric@anholt.net>
Fri, 7 Nov 2014 22:26:32 +0000 (14:26 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 13 Nov 2014 02:23:40 +0000 (18:23 -0800)
commitacc1cca7ae35e9e7fb55b4c05fd80564253e1634
tree5dbd79cf9d5c3c254c8f6fb780299225e462d3af
parent22543dd8a1b8aa9b963c0f355a628159fe83a5bf
vc4: Fix assumption of TGSI OUT[0] being POSITION in the VS.

All the shaders we've received so far had this be the case, but with
nir-to-tgsi that changed.

I might decide to make nir-to-tgsi keep the outputs in the same order, for
debugging sanity, but I'm not sure.
src/gallium/drivers/vc4/vc4_program.c