summaryrefslogtreecommitdiff
path: root/src/video_core/dma_pusher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/dma_pusher.h')
-rw-r--r--src/video_core/dma_pusher.h14
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
87struct CommandList final { 87struct CommandList final {
88 CommandList() = default; 88 CommandList() = default;
89 explicit CommandList(std::size_t size) : command_lists(size) {} 89 explicit CommandList(std::size_t size) : command_lists(size) {}
90 explicit CommandList(std::vector<Tegra::CommandHeader>&& prefetch_command_list) 90 explicit CommandList(std::vector<CommandHeader>&& prefetch_command_list_)
91 : prefetch_command_list{std::move(prefetch_command_list)} {} 91 : prefetch_command_list{std::move(prefetch_command_list_)} {}
92 92
93 std::vector<Tegra::CommandListHeader> command_lists; 93 std::vector<CommandListHeader> command_lists;
94 std::vector<Tegra::CommandHeader> prefetch_command_list; 94 std::vector<CommandHeader> prefetch_command_list;
95}; 95};
96 96
97/** 97/**
@@ -103,7 +103,7 @@ struct CommandList final {
103 */ 103 */
104class DmaPusher final { 104class DmaPusher final {
105public: 105public:
106 explicit DmaPusher(Core::System& system, GPU& gpu); 106 explicit DmaPusher(Core::System& system_, GPU& gpu_);
107 ~DmaPusher(); 107 ~DmaPusher();
108 108
109 void Push(CommandList&& entries) { 109 void Push(CommandList&& entries) {
@@ -112,7 +112,7 @@ public:
112 112
113 void DispatchCalls(); 113 void DispatchCalls();
114 114
115 void BindSubchannel(Tegra::Engines::EngineInterface* engine, u32 subchannel_id) { 115 void BindSubchannel(Engines::EngineInterface* engine, u32 subchannel_id) {
116 subchannels[subchannel_id] = engine; 116 subchannels[subchannel_id] = engine;
117 } 117 }
118 118
@@ -145,7 +145,7 @@ private:
145 145
146 bool ib_enable{true}; ///< IB mode enabled 146 bool ib_enable{true}; ///< IB mode enabled
147 147
148 std::array<Tegra::Engines::EngineInterface*, max_subchannels> subchannels{}; 148 std::array<Engines::EngineInterface*, max_subchannels> subchannels{};
149 149
150 GPU& gpu; 150 GPU& gpu;
151 Core::System& system; 151 Core::System& system;