diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-14 03:30:37 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-07 02:20:57 +0100 |
commit | 3435cd8d5e34f36ae493840fb5577b055a6b9fe2 (patch) | |
tree | 4a497f4fe23f843032797e3070422ff6f9386d3b /src/video_core/renderer_opengl/gl_shader_disk_cache.h | |
parent | gl_shader_disk_cache: Add transferable stores (diff) | |
download | yuzu-3435cd8d5e34f36ae493840fb5577b055a6b9fe2.tar yuzu-3435cd8d5e34f36ae493840fb5577b055a6b9fe2.tar.gz yuzu-3435cd8d5e34f36ae493840fb5577b055a6b9fe2.tar.bz2 yuzu-3435cd8d5e34f36ae493840fb5577b055a6b9fe2.tar.lz yuzu-3435cd8d5e34f36ae493840fb5577b055a6b9fe2.tar.xz yuzu-3435cd8d5e34f36ae493840fb5577b055a6b9fe2.tar.zst yuzu-3435cd8d5e34f36ae493840fb5577b055a6b9fe2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_disk_cache.h | 4 |
1 files changed, 4 insertions, 0 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 d4449c132..46d762b64 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.h @@ -132,6 +132,10 @@ public: class ShaderDiskCacheOpenGL { public: + /// Loads transferable cache. If file has a old version, it deletes it. Returns true on success. + bool LoadTransferable(std::vector<ShaderDiskCacheRaw>& raws, + std::vector<ShaderDiskCacheUsage>& usages); + /// Saves a raw dump to the transferable file. Checks for collisions. void SaveRaw(const ShaderDiskCacheRaw& entry); |