[Mesa-dev] [PATCH 06/14] mesa: reorder prog_instruction

Dave Airlie airlied at gmail.com
Fri Mar 20 00:30:01 PDT 2015


From: Dave Airlie <airlied at redhat.com>

reduces size from 64 to 56 bytes.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/mesa/program/prog_instruction.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/program/prog_instruction.h b/src/mesa/program/prog_instruction.h
index 0957bd9..ab3acbc 100644
--- a/src/mesa/program/prog_instruction.h
+++ b/src/mesa/program/prog_instruction.h
@@ -366,11 +366,11 @@ struct prog_instruction
     */
    GLint BranchTarget;
 
-   /** for debugging purposes */
-   const char *Comment;
-
    /** for driver use (try to remove someday) */
    GLint Aux;
+
+   /** for debugging purposes */
+   const char *Comment;
 };
 
 
-- 
2.1.0



More information about the mesa-dev mailing list