summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.h
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2017-07-19 20:35:17 +1000
committerStenzek <stenzek@gmail.com>2017-07-20 17:46:59 +1000
commitd01b0bf60fba2101e45cfac1e5747edcdbab5fc1 (patch)
tree2b6d657f96bd62a4c9bf336583590548f19f47f1 /Source/Core/VideoCommon/VideoConfig.h
parent7c5bbafdd119e3b8975d7b49411dd89e7770baab (diff)
VideoCommon: Move shader cache filename generation to common
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.h')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h
index dd7dd88fa4..46415463d1 100644
--- a/Source/Core/VideoCommon/VideoConfig.h
+++ b/Source/Core/VideoCommon/VideoConfig.h
@@ -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;