summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_disk_cache.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-06 23:48:14 +0200
committerGitHub <noreply@github.com>2019-10-06 23:48:14 +0200
commit8f407adeebedaf24eb683613224bd31bf88f516e (patch)
tree028f0f81fb83550d08fd3f2ff3d5ad08be101a95 /src/video_core/renderer_opengl/gl_shader_disk_cache.h
parentMerge pull request #2953 from DarkLordZach/azure-titlebars-gamename (diff)
parentgl_shader_disk_cache: Properly ignore existing cache (diff)
downloadyuzu-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 'src/video_core/renderer_opengl/gl_shader_disk_cache.h')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_disk_cache.h5
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