From 4ddce1b1a40aefe946ff300a1ae508ce97c7d72d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 8 Oct 2017 17:10:56 +0200 Subject: [PATCH] radeonsi: pack si_descriptors better again MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index bc7e7b3e426..8ce3cdb66e4 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -265,8 +265,6 @@ struct si_descriptors { struct r600_resource *buffer; int buffer_offset; /* can be negative if not using lower slots */ - /* The size of one descriptor. */ - ubyte element_dw_size; /* The maximum number of descriptors. */ uint32_t num_elements; @@ -279,6 +277,8 @@ struct si_descriptors { /* The SGPR index where the 64-bit pointer to the descriptor array will * be stored. */ ubyte shader_userdata_offset; + /* The size of one descriptor. */ + ubyte element_dw_size; }; struct si_buffer_resources { -- 2.30.2