diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-21 00:31:36 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-21 00:34:49 +0200 |
commit | 863579736cee987b7d3c341907b6c25f4fc1357b (patch) | |
tree | fe3f302bdf820dc2bdaf72a52354b82864c98945 /src/video_core/gpu.h | |
parent | Merge pull request #742 from bunnei/misc-apm (diff) | |
download | yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.gz yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.bz2 yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.lz yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.xz yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.zst yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/gpu.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 60930e997..a32148ecd 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -93,15 +93,14 @@ public: /// Processes a command list stored at the specified address in GPU memory. void ProcessCommandList(GPUVAddr address, u32 size); + /// Returns a const reference to the Maxwell3D GPU engine. + const Engines::Maxwell3D& Maxwell3D() const; + /// Returns a reference to the Maxwell3D GPU engine. - const Engines::Maxwell3D& Get3DEngine() const; + Engines::Maxwell3D& Maxwell3D(); std::unique_ptr<MemoryManager> memory_manager; - Engines::Maxwell3D& Maxwell3D() { - return *maxwell_3d; - } - private: /// Writes a single register in the engine bound to the specified subchannel void WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params); |