r600: port over the get_lds_unique_index from radeonsi
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 04:43:07 +0000 (14:43 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Dec 2015 23:59:00 +0000 (09:59 +1000)
commit839dae0dc0d92f47dddaf67964603f3c9c4a0ad7
tree2cda074011c98dad48befc95857584e119899f4e
parent420afe06d1374509b8628d48162a0294bae7a14b
r600: port over the get_lds_unique_index from radeonsi

On r600 this needs to subtract 9 due to texcoord interactions.

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