diff options
author | Dave Airlie <airlied@redhat.com> | 2015-03-20 15:58:09 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-03-21 08:13:17 +1000 |
commit | 684c91401472a3bf60c219901dbc2727aab8c351 (patch) | |
tree | 56ef744fa56e4cd9e7b37ba7e321c69e2b92833b | |
parent | a04b520890c669ce012b4b18165392dcabe0b27b (diff) | |
download | external_mesa3d-684c91401472a3bf60c219901dbc2727aab8c351.zip external_mesa3d-684c91401472a3bf60c219901dbc2727aab8c351.tar.gz external_mesa3d-684c91401472a3bf60c219901dbc2727aab8c351.tar.bz2 |
mesa: reorder gl_multisample_attrib
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>
-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 c43c6ac..a428a59 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; }; |