Module: Mesa
Branch: master
Commit: 4ddce1b1a40aefe946ff300a1ae508ce97c7d72d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ddce1b1a40aefe946ff300a1ae508ce97c7d72d

Author: Marek Olšák <[email protected]>
Date:   Sun Oct  8 17:10:56 2017 +0200

radeonsi: pack si_descriptors better again

Reviewed-by: Nicolai Hähnle <[email protected]>

---

 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 bc7e7b3e42..8ce3cdb66e 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 {

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to