r600/shader: fix thread id loading.
authorDave Airlie <airlied@redhat.com>
Tue, 5 Dec 2017 08:27:38 +0000 (08:27 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 5 Dec 2017 20:07:07 +0000 (20:07 +0000)
commit4ee2b7c45231b392d2a6abfe1b64d328c4041ae7
treecfa82f6723a57e8f14a18b95b8939b7f411bfd6b
parent20d37da597653201d2c524434907e817bd03b1d0
r600/shader: fix thread id loading.

This just changes how thread id loading is done, it makes
smaller shaders if we don't use thread id gprs.

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