ShaderGen: Remove host state from shader uids

This commit is contained in:
Stenzek
2017-06-24 18:18:53 +10:00
parent c207a1072d
commit 82c27182a8
8 changed files with 139 additions and 154 deletions

View File

@ -187,3 +187,19 @@ bool VideoConfig::IsVSync()
{
return bVSync && !Core::GetIsThrottlerTempDisabled();
}
bool VideoConfig::IsStereoEnabled() const
{
return iStereoMode > 0;
}
bool VideoConfig::IsMSAAEnabled() const
{
return iMultisamples > 1;
}
bool VideoConfig::IsSSAAEnabled() const
{
return iMultisamples > 1 && bSSAA && backend_info.bSupportsSSAA;
}