Pass through multisample state and point/line rast state values

This commit is contained in:
baldurk
2015-01-17 19:09:04 +00:00
parent f607f9832e
commit 82d262ad8b
3 changed files with 57 additions and 0 deletions
+20
View File
@@ -177,7 +177,23 @@ struct GLPipelineState
float SlopeScaledDepthBias;
float OffsetClamp;
bool32 DepthClamp;
bool32 MultisampleEnable;
bool32 SampleShading;
bool32 SampleMask;
uint32_t SampleMaskValue;
bool32 SampleCoverage;
bool32 SampleCoverageInvert;
float SampleCoverageValue;
bool32 SampleAlphaToCoverage;
bool32 SampleAlphaToOne;
float MinSampleShadingRate;
bool32 ProgrammablePointSize;
float PointSize;
float LineWidth;
float PointFadeThreshold;
bool32 PointOriginUpperLeft;
} m_State;
} m_Rasterizer;
@@ -265,11 +281,15 @@ struct GLPipelineState
, LineSmooth(eQuality_DontCare)
, PolySmooth(eQuality_DontCare)
, TexCompression(eQuality_DontCare)
, LineSmoothEnabled(0)
, PolySmoothEnabled(0)
{}
QualityHint Derivatives;
QualityHint LineSmooth;
QualityHint PolySmooth;
QualityHint TexCompression;
bool32 LineSmoothEnabled;
bool32 PolySmoothEnabled;
} m_Hints;
};