From: Dave Airlie Date: Fri, 20 Mar 2015 05:58:09 +0000 (+1000) Subject: mesa: reorder gl_multisample_attrib X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=684c91401472a3bf60c219901dbc2727aab8c351;p=mesa.git mesa: reorder gl_multisample_attrib drops size from 28 bytes to 20. 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 c43c6ac6710..a428a59c877 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -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; };