From: Dave Airlie Date: Fri, 20 Mar 2015 06:00:10 +0000 (+1000) Subject: mesa: reorder gl_texture_unit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbaff50828205188d738f5727261b8a95861ef38;p=mesa.git mesa: reorder gl_texture_unit drops size from 520 -> 512 bytes, which then makes gl_texture_attrib go from 99984 to 98440. Acked-by: Brian Paul Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index d9f008641fc..9a52b2ffb42 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1349,6 +1349,9 @@ struct gl_texture_unit GLfloat LodBias; /**< for biasing mipmap levels */ + /** Texture targets that have a non-default texture bound */ + GLbitfield _BoundTextures; + /** Current sampler object (GL_ARB_sampler_objects) */ struct gl_sampler_object *Sampler; @@ -1375,8 +1378,6 @@ struct gl_texture_unit /** Points to highest priority, complete and enabled texture object */ struct gl_texture_object *_Current; - /** Texture targets that have a non-default texture bound */ - GLbitfield _BoundTextures; };