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

@ -223,6 +223,13 @@ struct VideoConfig final
{
return backend_info.bSupportsGPUTextureDecoding && bEnableGPUTextureDecoding;
}
bool UseVertexRounding() const { return bVertexRounding && iEFBScale != SCALE_1X; }
bool IsStereoEnabled() const;
bool IsMSAAEnabled() const;
bool IsSSAAEnabled() const;
// Host config contains the settings which can influence generated shaders.
u32 GetHostConfigBits() const;
std::string GetHostConfigFilename() const;
};
extern VideoConfig g_Config;