diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-06 23:48:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-06 23:48:14 +0200 |
commit | 8f407adeebedaf24eb683613224bd31bf88f516e (patch) | |
tree | 028f0f81fb83550d08fd3f2ff3d5ad08be101a95 /src/video_core/renderer_opengl/gl_shader_disk_cache.h | |
parent | Merge pull request #2953 from DarkLordZach/azure-titlebars-gamename (diff) | |
parent | gl_shader_disk_cache: Properly ignore existing cache (diff) | |
download | yuzu-8f407adeebedaf24eb683613224bd31bf88f516e.tar yuzu-8f407adeebedaf24eb683613224bd31bf88f516e.tar.gz yuzu-8f407adeebedaf24eb683613224bd31bf88f516e.tar.bz2 yuzu-8f407adeebedaf24eb683613224bd31bf88f516e.tar.lz yuzu-8f407adeebedaf24eb683613224bd31bf88f516e.tar.xz yuzu-8f407adeebedaf24eb683613224bd31bf88f516e.tar.zst yuzu-8f407adeebedaf24eb683613224bd31bf88f516e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_disk_cache.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_disk_cache.h b/src/video_core/renderer_opengl/gl_shader_disk_cache.h index cc8bbd61e..9595bd71b 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.h @@ -224,9 +224,6 @@ private: bool SaveDecompiledFile(u64 unique_identifier, const std::string& code, const GLShader::ShaderEntries& entries); - /// Returns if the cache can be used - bool IsUsable() const; - /// Opens current game's transferable file and write it's header if it doesn't exist FileUtil::IOFile AppendTransferableFile() const; @@ -297,7 +294,7 @@ private: std::unordered_map<u64, std::unordered_set<ShaderDiskCacheUsage>> transferable; // The cache has been loaded at boot - bool tried_to_load{}; + bool is_usable{}; }; } // namespace OpenGL |