[Mesa-dev] [PATCH 2/3] mesa/mtypes: reduce size of gl_sync_object.

Dave Airlie airlied at gmail.com
Sun Sep 3 11:06:35 UTC 2017


From: Dave Airlie <airlied at redhat.com>

Drops from 40->32 bytes.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/mesa/main/mtypes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 7f9c30f..a72a3b2 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3192,8 +3192,8 @@ struct gl_query_state
 struct gl_sync_object
 {
    GLuint Name;               /**< Fence name */
-   GLchar *Label;             /**< GL_KHR_debug */
    GLint RefCount;            /**< Reference count */
+   GLchar *Label;             /**< GL_KHR_debug */
    GLboolean DeletePending;   /**< Object was deleted while there were still
 			       * live references (e.g., sync not yet finished)
 			       */
-- 
2.9.5



More information about the mesa-dev mailing list