diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-14 02:05:53 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-07 02:20:57 +0100 |
commit | 0ed5d728ca12e407685b62802dec69b455f1a528 (patch) | |
tree | d421d986e0a250cea73bd2675ec234af29a96997 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | file_util: Add shader directory (diff) | |
download | yuzu-0ed5d728ca12e407685b62802dec69b455f1a528.tar yuzu-0ed5d728ca12e407685b62802dec69b455f1a528.tar.gz yuzu-0ed5d728ca12e407685b62802dec69b455f1a528.tar.bz2 yuzu-0ed5d728ca12e407685b62802dec69b455f1a528.tar.lz yuzu-0ed5d728ca12e407685b62802dec69b455f1a528.tar.xz yuzu-0ed5d728ca12e407685b62802dec69b455f1a528.tar.zst yuzu-0ed5d728ca12e407685b62802dec69b455f1a528.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index c806b7da7..18aafe767 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -22,6 +22,7 @@ #include "core/settings.h" #include "video_core/engines/maxwell_3d.h" #include "video_core/renderer_opengl/gl_rasterizer.h" +#include "video_core/renderer_opengl/gl_shader_cache.h" #include "video_core/renderer_opengl/gl_shader_gen.h" #include "video_core/renderer_opengl/maxwell_to_gl.h" #include "video_core/renderer_opengl/renderer_opengl.h" @@ -477,6 +478,10 @@ void RasterizerOpenGL::UpdatePagesCachedCount(VAddr addr, u64 size, int delta) { cached_pages.add({pages_interval, delta}); } +void RasterizerOpenGL::LoadDiskResources() { + shader_cache.LoadDiskCache(); +} + std::pair<bool, bool> RasterizerOpenGL::ConfigureFramebuffers( OpenGLState& current_state, bool using_color_fb, bool using_depth_fb, bool preserve_contents, std::optional<std::size_t> single_color_target) { |