radeonsi: make SI_SGPR_VERTEX_BUFFERS the last user SGPR input
authorMarek Olšák <marek.olsak@amd.com>
Sun, 8 Oct 2017 17:38:37 +0000 (19:38 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 26 Feb 2018 11:01:08 +0000 (12:01 +0100)
commit3fa7a59d69b8953843edbef8b52c681cab45dd70
treeeb3e94a6f9f5a78a029db431d579ccf5e3f860f9
parentc78640ce319e323ee2fdfac0d5b4dfce797baf0a
radeonsi: make SI_SGPR_VERTEX_BUFFERS the last user SGPR input

so that it can be removed and replaced with inline VBO descriptors,
and the pointer can be packed in unused bits of VBO descriptors.
This also removes the pointer from merged TES-GS where it's useless.

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