diff options
| author | 2018-09-06 17:02:46 +0200 | |
|---|---|---|
| committer | 2018-09-10 22:06:16 +0200 | |
| commit | c1b8cd90589141feb182da0d48c335bd624a4793 (patch) | |
| tree | 224018fc0aed7e56980e2bf9e063f3770b99539e /src/video_core/gpu.h | |
| parent | video_core: Move command buffer loop. (diff) | |
| download | yuzu-c1b8cd90589141feb182da0d48c335bd624a4793.tar.gz yuzu-c1b8cd90589141feb182da0d48c335bd624a4793.tar.xz yuzu-c1b8cd90589141feb182da0d48c335bd624a4793.zip | |
video_core: Refactor command_processor.
Inline the WriteReg helper as it is called ~20k times per frame.
Diffstat (limited to 'src/video_core/gpu.h')
| -rw-r--r-- | src/video_core/gpu.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 9163fbdc6..4f71f99d7 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h | |||
| @@ -132,9 +132,6 @@ public: | |||
| 132 | const Tegra::MemoryManager& MemoryManager() const; | 132 | const Tegra::MemoryManager& MemoryManager() const; |
| 133 | 133 | ||
| 134 | private: | 134 | private: |
| 135 | /// Writes a single register in the engine bound to the specified subchannel | ||
| 136 | void WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params); | ||
| 137 | |||
| 138 | std::unique_ptr<Tegra::MemoryManager> memory_manager; | 135 | std::unique_ptr<Tegra::MemoryManager> memory_manager; |
| 139 | 136 | ||
| 140 | /// Mapping of command subchannels to their bound engine ids. | 137 | /// Mapping of command subchannels to their bound engine ids. |