summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-01-21 16:38:23 -0300
committerGravatar ReinUsesLisp2019-02-06 22:23:40 -0300
commiteb7324743372d3b94db9a915a5508d8293d45ecb (patch)
tree085261558efeb2b47ce5316b52314980005b3e5c /src/video_core/rasterizer_interface.h
parentgl_shader_cache: Set GL_PROGRAM_SEPARABLE to dumped shaders (diff)
downloadyuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.tar.gz
yuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.tar.xz
yuzu-eb7324743372d3b94db9a915a5508d8293d45ecb.zip
gl_shader_cache: Link loading screen with disk shader cache load
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index bb4bc0e36..77da135a0 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -4,6 +4,7 @@
4 4
5#pragma once 5#pragma once
6 6
7#include <atomic>
7#include <functional> 8#include <functional>
8#include "common/common_types.h" 9#include "common/common_types.h"
9#include "video_core/engines/fermi_2d.h" 10#include "video_core/engines/fermi_2d.h"
@@ -63,6 +64,7 @@ public:
63 virtual void UpdatePagesCachedCount(Tegra::GPUVAddr addr, u64 size, int delta) {} 64 virtual void UpdatePagesCachedCount(Tegra::GPUVAddr addr, u64 size, int delta) {}
64 65
65 /// Initialize disk cached resources for the game being emulated 66 /// Initialize disk cached resources for the game being emulated
66 virtual void LoadDiskResources() {} 67 virtual void LoadDiskResources(const std::atomic_bool& stop_loading = false,
68 const DiskResourceLoadCallback& callback = {}) {}
67}; 69};
68} // namespace VideoCore 70} // namespace VideoCore