radeonsi: get InstanceID from VGPR1 (or VGPR2 for tess) instead of VGPR3
authorMarek Olšák <marek.olsak@amd.com>
Sat, 22 Apr 2017 15:27:10 +0000 (17:27 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 28 Apr 2017 19:47:35 +0000 (21:47 +0200)
commit3b2e93e472d185a5df5ec3c3d23c8744a0c23e42
tree8628ad1fa59730c7b2b3ef7706b9a0cd11d1b45c
parent678d568c7b2c1e7c92ce6b2800ff35be71e3ec0d
radeonsi: get InstanceID from VGPR1 (or VGPR2 for tess) instead of VGPR3

VGPR1 = InstanceID / StepRate0; // StepRate0 can be set to 1

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_shaders.c