radeonsi: use a single descriptor for the GSVS ring
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 29 Nov 2016 16:41:59 +0000 (17:41 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 12 Dec 2016 08:05:05 +0000 (09:05 +0100)
commit2f2e941e2d9d6155e0661f452343e7a80f2439c4
tree42f890fa7d2d2d59d324c695785c30d57c16fee6
parent18616e7551fcecb9445597d78446df6e1df98fbb
radeonsi: use a single descriptor for the GSVS ring

We can hardcode all of the fields for swizzling in the geometry shader.

The advantage is that we use fewer descriptor slots and we no longer have to
update any of the (ring) descriptors when the geometry shader changes.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c