r600/shader: handle tess related system-values.
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 05:56:33 +0000 (15:56 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Dec 2015 23:59:01 +0000 (09:59 +1000)
commit9662a43d23c0ae46b4294561476b57e22e76ae04
tree56d3292290df684cfafee9f4fc00b4a8b4d8d776
parent92fbf856f42b22f68f62c2516e0c6453c454cf05
r600/shader: handle tess related system-values.

This adds handling for TESSINNER/TESSOUTER in the TES
where they need to be fetched from LDS,
and TESSCOORD which comes in via r0.

It also handle primitive ID and invocation ID.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c