diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-26 01:10:20 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-21 03:46:05 +0200 |
commit | 69215b5a550ef8b2f3a2854bc99af03bcd31a6c7 (patch) | |
tree | b0519d6d9e27177bfd537aad462f34c88bdc4823 /src/video_core/renderer_opengl/gl_shader_disk_cache.h | |
parent | gl_shader_cache: Use shared contexts to build shaders in parallel (diff) | |
download | yuzu-69215b5a550ef8b2f3a2854bc99af03bcd31a6c7.tar yuzu-69215b5a550ef8b2f3a2854bc99af03bcd31a6c7.tar.gz yuzu-69215b5a550ef8b2f3a2854bc99af03bcd31a6c7.tar.bz2 yuzu-69215b5a550ef8b2f3a2854bc99af03bcd31a6c7.tar.lz yuzu-69215b5a550ef8b2f3a2854bc99af03bcd31a6c7.tar.xz yuzu-69215b5a550ef8b2f3a2854bc99af03bcd31a6c7.tar.zst yuzu-69215b5a550ef8b2f3a2854bc99af03bcd31a6c7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_disk_cache.h | 7 |
1 files changed, 6 insertions, 1 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 2da0a4a23..ecd72ba58 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.h @@ -33,6 +33,11 @@ namespace OpenGL { using ProgramCode = std::vector<u64>; using Maxwell = Tegra::Engines::Maxwell3D::Regs; +struct ShaderDiskCacheUsage; +struct ShaderDiskCacheDump; + +using ShaderDumpsMap = std::unordered_map<ShaderDiskCacheUsage, ShaderDiskCacheDump>; + /// Allocated bindings used by an OpenGL shader program struct BaseBindings { u32 cbuf{}; @@ -294,4 +299,4 @@ private: bool tried_to_load{}; }; -} // namespace OpenGL
\ No newline at end of file +} // namespace OpenGL |