freedreno/ir3: allow for additional VS sysval inputs
authorRob Clark <robclark@freedesktop.org>
Fri, 6 May 2016 17:21:08 +0000 (13:21 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 9 May 2016 15:51:59 +0000 (11:51 -0400)
commitf33083a216563abac307c414bba2e32dc7405fea
tree1895635f33a912808ed0b5dc40bd8c932f48fe58
parenta0d9279e3b31ce5e5bb2baf857134bd5f48dbf65
freedreno/ir3: allow for additional VS sysval inputs

There are a total of four possible currently, rather than 2.  So we need
to be prepared for the input array to grow by 16 components.  We could
get away with less if we could pack sysval inputs..  and the way this is
handled currently isn't really the nicest thing.  But it's a tactical
fix for an issue hit in:

GL31-CTS.gtf30.GL3Tests.transform_feedback.transform_feedback_vertex_id

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c