diff options
author | Dave Airlie <[email protected]> | 2015-03-20 15:58:09 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-03-21 08:13:17 +1000 |
commit | 684c91401472a3bf60c219901dbc2727aab8c351 (patch) | |
tree | 56ef744fa56e4cd9e7b37ba7e321c69e2b92833b /src/mesa/main | |
parent | a04b520890c669ce012b4b18165392dcabe0b27b (diff) |
mesa: reorder gl_multisample_attrib
drops size from 28 bytes to 20.
Acked-by: Brian Paul <[email protected]>
Reviewed-by: Alex Deucher [email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 6 |
1 files changed, 4 insertions, 2 deletions
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; }; |