VideoCommon: Move shader cache filename generation to common

This commit is contained in:
Stenzek
2017-07-19 20:35:17 +10:00
parent 7c5bbafdd1
commit d01b0bf60f
9 changed files with 61 additions and 51 deletions

View File

@ -229,7 +229,9 @@ struct VideoConfig final
bool IsSSAAEnabled() const;
// Host config contains the settings which can influence generated shaders.
u32 GetHostConfigBits() const;
std::string GetHostConfigFilename() const;
// Gets the filename of the specified type of cache object (e.g. vertex shader, pipeline).
std::string GetDiskCacheFileName(APIType api_type, const char* type, bool include_gameid,
bool include_host_config) const;
};
extern VideoConfig g_Config;