r600/shader: emit tessellation factors to GDS at end of TCS.
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 05:48:22 +0000 (15:48 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Dec 2015 23:59:01 +0000 (09:59 +1000)
commit2239f3eaff5c72c4cb1d4a5be97feb4af3d08d25
treef2f66607f24718265e927a7e94693c4edcf91b8a
parentcfc2818e2302aba4d4f4ac13edff7f2b10b6302a
r600/shader: emit tessellation factors to GDS at end of TCS.

When we are finished the shader, we read back all the tess factors
from LDS and write them to special global memory storage using
GDS instructions.

This also handles adding NOP when GDS or ENDLOOP end the TCS.

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