r600/shader: reserve first register of vertex shader.
authorDave Airlie <airlied@redhat.com>
Mon, 13 Nov 2017 03:05:25 +0000 (13:05 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 13 Nov 2017 20:16:05 +0000 (06:16 +1000)
commit50330d7115f0d5050ec3cfe6bca2b0136222e097
treed593e28ab182d57235d9443a4ad86e5c06a0feaa
parent00fb21b570b4f13971546f31177df9e44d828502
r600/shader: reserve first register of vertex shader.

r0 in input into vertex shaders contains things like vertexid,
we need to reserve it even if we have no inputs.

This fixes a bunch of tessellation piglits.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c