diff options
| author | 2018-03-22 19:48:20 -0400 | |
|---|---|---|
| committer | 2018-03-22 19:48:20 -0400 | |
| commit | 7c3a26383927fa6ac523c330be0be82a4a5b9b5e (patch) | |
| tree | 80fcd4f8687cdd71391b68b8ca195b08b2e706a3 /src | |
| parent | maxwell_3d: Add some format decodings and string helper functions. (diff) | |
| download | yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.tar.gz yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.tar.xz yuzu-7c3a26383927fa6ac523c330be0be82a4a5b9b5e.zip | |
gpu: Expose Maxwell3D engine.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/gpu.h | 4 |
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: | |||
| 36 | 36 | ||
| 37 | std::unique_ptr<MemoryManager> memory_manager; | 37 | std::unique_ptr<MemoryManager> memory_manager; |
| 38 | 38 | ||
| 39 | Engines::Maxwell3D& Maxwell3D() { | ||
| 40 | return *maxwell_3d; | ||
| 41 | } | ||
| 42 | |||
| 39 | private: | 43 | private: |
| 40 | static constexpr u32 InvalidGraphMacroEntry = 0xFFFFFFFF; | 44 | static constexpr u32 InvalidGraphMacroEntry = 0xFFFFFFFF; |
| 41 | 45 | ||