diff options
author | Lioncash <mathew1800@gmail.com> | 2020-12-04 20:39:12 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-04 22:19:09 +0100 |
commit | 677a8b208d47d0d2397197ce74c7039a8ea79d20 (patch) | |
tree | 51f6cc58b69b42c7af300c6c56abd0af37e0c748 /src/video_core/dma_pusher.h | |
parent | Merge pull request #5064 from lioncash/node-shadow (diff) | |
download | yuzu-677a8b208d47d0d2397197ce74c7039a8ea79d20.tar yuzu-677a8b208d47d0d2397197ce74c7039a8ea79d20.tar.gz yuzu-677a8b208d47d0d2397197ce74c7039a8ea79d20.tar.bz2 yuzu-677a8b208d47d0d2397197ce74c7039a8ea79d20.tar.lz yuzu-677a8b208d47d0d2397197ce74c7039a8ea79d20.tar.xz yuzu-677a8b208d47d0d2397197ce74c7039a8ea79d20.tar.zst yuzu-677a8b208d47d0d2397197ce74c7039a8ea79d20.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/dma_pusher.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.h index 96ac267f7..19f286fa7 100644 --- a/src/video_core/dma_pusher.h +++ b/src/video_core/dma_pusher.h @@ -87,11 +87,11 @@ inline CommandHeader BuildCommandHeader(BufferMethods method, u32 arg_count, Sub struct CommandList final { CommandList() = default; explicit CommandList(std::size_t size) : command_lists(size) {} - explicit CommandList(std::vector<Tegra::CommandHeader>&& prefetch_command_list) - : prefetch_command_list{std::move(prefetch_command_list)} {} + explicit CommandList(std::vector<CommandHeader>&& prefetch_command_list_) + : prefetch_command_list{std::move(prefetch_command_list_)} {} - std::vector<Tegra::CommandListHeader> command_lists; - std::vector<Tegra::CommandHeader> prefetch_command_list; + std::vector<CommandListHeader> command_lists; + std::vector<CommandHeader> prefetch_command_list; }; /** @@ -103,7 +103,7 @@ struct CommandList final { */ class DmaPusher final { public: - explicit DmaPusher(Core::System& system, GPU& gpu); + explicit DmaPusher(Core::System& system_, GPU& gpu_); ~DmaPusher(); void Push(CommandList&& entries) { @@ -112,7 +112,7 @@ public: void DispatchCalls(); - void BindSubchannel(Tegra::Engines::EngineInterface* engine, u32 subchannel_id) { + void BindSubchannel(Engines::EngineInterface* engine, u32 subchannel_id) { subchannels[subchannel_id] = engine; } @@ -145,7 +145,7 @@ private: bool ib_enable{true}; ///< IB mode enabled - std::array<Tegra::Engines::EngineInterface*, max_subchannels> subchannels{}; + std::array<Engines::EngineInterface*, max_subchannels> subchannels{}; GPU& gpu; Core::System& system; |