mesa: reorder gl_multisample_attrib
authorDave Airlie <airlied@redhat.com>
Fri, 20 Mar 2015 05:58:09 +0000 (15:58 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Mar 2015 22:13:17 +0000 (08:13 +1000)
drops size from 28 bytes to 20.

Acked-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Alex Deucher alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/mtypes.h

index c43c6ac6710f352f5d407dcfd71c3bb3d60839a5..a428a59c877820c9364663003fa425e273503d49 100644 (file)
@@ -900,13 +900,15 @@ struct gl_multisample_attrib
    GLboolean SampleAlphaToCoverage;
    GLboolean SampleAlphaToOne;
    GLboolean SampleCoverage;
-   GLfloat SampleCoverageValue;
    GLboolean SampleCoverageInvert;
    GLboolean SampleShading;
-   GLfloat MinSampleShadingValue;
 
    /* ARB_texture_multisample / GL3.2 additions */
    GLboolean SampleMask;
+
+   GLfloat SampleCoverageValue;
+   GLfloat MinSampleShadingValue;
+
    /** The GL spec defines this as an array but >32x MSAA is madness */
    GLbitfield SampleMaskValue;
 };