summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-23 00:48:20 +0100
committerbunnei <bunneidev@gmail.com>2018-03-23 00:48:20 +0100
commit7c3a26383927fa6ac523c330be0be82a4a5b9b5e (patch)
tree80fcd4f8687cdd71391b68b8ca195b08b2e706a3 /src/video_core
parentmaxwell_3d: Add some format decodings and string helper functions. (diff)
downloadyuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.tar
yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.tar.gz
yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.tar.bz2
yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.tar.lz
yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.tar.xz
yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.tar.zst
yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/gpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 2a9064ba3..f9a725dee 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -36,6 +36,10 @@ public:
std::unique_ptr<MemoryManager> memory_manager;
+ Engines::Maxwell3D& Maxwell3D() {
+ return *maxwell_3d;
+ }
+
private:
static constexpr u32 InvalidGraphMacroEntry = 0xFFFFFFFF;