summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-03-20 16:07:24 +1000
committerDave Airlie <airlied@redhat.com>2015-03-21 08:14:00 +1000
commit401b11843b91112e2f5957c2b174b564cd1825b3 (patch)
tree036de305071d05edfdb9c6b2b591d575d11f0c5c
parentb3f6e0bb587457cbfab3c04cae9d062843369eb9 (diff)
downloadexternal_mesa3d-401b11843b91112e2f5957c2b174b564cd1825b3.zip
external_mesa3d-401b11843b91112e2f5957c2b174b564cd1825b3.tar.gz
external_mesa3d-401b11843b91112e2f5957c2b174b564cd1825b3.tar.bz2
mesa: reorder gl_array_attrib
drops 80 bytes to 72. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/mesa/main/mtypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 627c144..72db275 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1710,6 +1710,9 @@ struct gl_array_attrib
GLuint RestartIndex;
/*@}*/
+ /** One of the DRAW_xxx flags, not consumed by drivers */
+ gl_draw_method DrawMethod;
+
/* GL_ARB_vertex_buffer_object */
struct gl_buffer_object *ArrayBufferObj;
@@ -1719,9 +1722,6 @@ struct gl_array_attrib
*/
const struct gl_client_array **_DrawArrays; /**< 0..VERT_ATTRIB_MAX-1 */
- /** One of the DRAW_xxx flags, not consumed by drivers */
- gl_draw_method DrawMethod;
-
/** Legal array datatypes and the API for which they have been computed */
GLbitfield LegalTypesMask;
gl_api LegalTypesMaskAPI;