r600g: add support for indirect geom ring writes
authorDave Airlie <airlied@redhat.com>
Fri, 24 Jan 2014 03:39:36 +0000 (13:39 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Feb 2014 00:49:40 +0000 (10:49 +1000)
commite12147e9f608b8117e653152317c6c64ea004b71
tree429ae3524f2c6ab27cc314f8f3070f565cec03a7
parentcda63db780512f7ca81f5e7973120d335e576ad6
r600g: add support for indirect geom ring writes

We need to be able to write to the ring using a base register
for when we emit vertices in a loop, in theory the SB compiler
could collapse these indirect writes to direct writes if the
register value is constant and known, but that is outside my
pay grade.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_shader.c