summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-07-25 11:39:04 -0700
committerGravatar GitHub2021-07-25 11:39:04 -0700
commit98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f (patch)
tree816faa96c2c4d291825063433331a8ea4b3d08f1 /src/video_core/rasterizer_interface.h
parentMerge pull request #6699 from lat9nq/common-threads (diff)
parentshader: Support out of bound local memory reads and immediate writes (diff)
downloadyuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.tar.gz
yuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.tar.xz
yuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.zip
Merge pull request #6585 from ameerj/hades
Shader Decompiler Rewrite
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 58014c1c3..b094fc064 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -11,7 +11,6 @@
11#include "common/common_types.h" 11#include "common/common_types.h"
12#include "video_core/engines/fermi_2d.h" 12#include "video_core/engines/fermi_2d.h"
13#include "video_core/gpu.h" 13#include "video_core/gpu.h"
14#include "video_core/guest_driver.h"
15 14
16namespace Tegra { 15namespace Tegra {
17class MemoryManager; 16class MemoryManager;
@@ -45,7 +44,7 @@ public:
45 virtual void Clear() = 0; 44 virtual void Clear() = 0;
46 45
47 /// Dispatches a compute shader invocation 46 /// Dispatches a compute shader invocation
48 virtual void DispatchCompute(GPUVAddr code_addr) = 0; 47 virtual void DispatchCompute() = 0;
49 48
50 /// Resets the counter of a query 49 /// Resets the counter of a query
51 virtual void ResetCounter(QueryType type) = 0; 50 virtual void ResetCounter(QueryType type) = 0;
@@ -136,18 +135,5 @@ public:
136 /// Initialize disk cached resources for the game being emulated 135 /// Initialize disk cached resources for the game being emulated
137 virtual void LoadDiskResources(u64 title_id, std::stop_token stop_loading, 136 virtual void LoadDiskResources(u64 title_id, std::stop_token stop_loading,
138 const DiskResourceLoadCallback& callback) {} 137 const DiskResourceLoadCallback& callback) {}
139
140 /// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver.
141 [[nodiscard]] GuestDriverProfile& AccessGuestDriverProfile() {
142 return guest_driver_profile;
143 }
144
145 /// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver.
146 [[nodiscard]] const GuestDriverProfile& AccessGuestDriverProfile() const {
147 return guest_driver_profile;
148 }
149
150private:
151 GuestDriverProfile guest_driver_profile{};
152}; 138};
153} // namespace VideoCore 139} // namespace VideoCore