radeonsi: move tess ring address into TCS_OUT_LAYOUT, removes 2 TCS user SGPRs
authorMarek Olšák <marek.olsak@amd.com>
Sat, 3 Feb 2018 02:19:25 +0000 (03:19 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 24 Feb 2018 22:08:29 +0000 (23:08 +0100)
commit2d03c4cac8dfac5cd2ba2f420a2336d3bf516860
tree4a66ecd789fdb7d8b2e3b2721ab031df63ab915c
parent190e064e63e3acb603cd63488ea822605f71ac32
radeonsi: move tess ring address into TCS_OUT_LAYOUT, removes 2 TCS user SGPRs

TCS_OUT_LAYOUT has 13 unused bits. That's enough for a 32-bit address
aligned to 512KB. Hey, it's a 13-bit pointer!

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_shader_internal.h
src/gallium/drivers/radeonsi/si_state_draw.c
src/gallium/drivers/radeonsi/si_state_shaders.c