mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
ShaderGen: Remove host state from shader uids
This commit is contained in:
parent
c207a1072d
commit
82c27182a8
8 changed files with 139 additions and 154 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue