From 2f2e941e2d9d6155e0661f452343e7a80f2439c4 Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Tue, 29 Nov 2016 17:41:59 +0100 Subject: radeonsi: use a single descriptor for the GSVS ring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/gallium/drivers/radeonsi/si_state.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/gallium/drivers/radeonsi/si_state.h') diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index d8e60249db2..a17dbc73102 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -167,11 +167,7 @@ enum { SI_ES_RING_ESGS, SI_GS_RING_ESGS, - SI_GS_RING_GSVS0, - SI_GS_RING_GSVS1, - SI_GS_RING_GSVS2, - SI_GS_RING_GSVS3, - SI_VS_RING_GSVS, + SI_RING_GSVS, SI_VS_STREAMOUT_BUF0, SI_VS_STREAMOUT_BUF1, -- cgit v1.2.3