diff options
author | Marek Olšák <[email protected]> | 2017-10-08 17:10:56 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-10-17 22:03:03 +0200 |
commit | 4ddce1b1a40aefe946ff300a1ae508ce97c7d72d (patch) | |
tree | 24a320f07f2b198d51eba7519fd8e0765115997a /src/gallium/drivers/radeonsi | |
parent | 859eeffb3de49e0dc1da705e628a311a2152ed7c (diff) |
radeonsi: pack si_descriptors better again
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 4 |
1 files 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 { |