Mesa (master): mesa: reorder prog_instruction

Dave Airlie airlied at kemper.freedesktop.org
Fri Mar 20 22:15:03 UTC 2015


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 20 16:26:59 2015 +1000

mesa: reorder prog_instruction

reduces size from 64 to 56 bytes.

Acked-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com>
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;
 };
 
 




More information about the mesa-commit mailing list