diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-21 10:51:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 10:51:00 -0700 |
commit | 552aac7e6c233d15dba22fe54c68588f1e48a5fa (patch) | |
tree | d1f2b22baa5c46ff89d5c8437a624c71ccf85596 /src/video_core/gpu.h | |
parent | fe2498a65038bdea6ac5e4a2fad4fc992d4ff4ba (diff) | |
parent | 863579736cee987b7d3c341907b6c25f4fc1357b (diff) |
Merge pull request #749 from lioncash/consistency
gpu: Rename Get3DEngine() to Maxwell3D()
Diffstat (limited to 'src/video_core/gpu.h')
-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); |