summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-02-19 00:12:07 +0100
committerGitHub <noreply@github.com>2021-02-19 00:12:07 +0100
commit9cae3e6e90f840903a0072b916e49f24d0f6cb10 (patch)
tree79511308066a4fbc11aa2e9058b0aa65772cc30a /src/video_core/gpu.cpp
parentMerge pull request #5955 from yuzu-emu/revert-3603-port-5123 (diff)
parent rebase, fix name shadowing, more const (diff)
downloadyuzu-9cae3e6e90f840903a0072b916e49f24d0f6cb10.tar
yuzu-9cae3e6e90f840903a0072b916e49f24d0f6cb10.tar.gz
yuzu-9cae3e6e90f840903a0072b916e49f24d0f6cb10.tar.bz2
yuzu-9cae3e6e90f840903a0072b916e49f24d0f6cb10.tar.lz
yuzu-9cae3e6e90f840903a0072b916e49f24d0f6cb10.tar.xz
yuzu-9cae3e6e90f840903a0072b916e49f24d0f6cb10.tar.zst
yuzu-9cae3e6e90f840903a0072b916e49f24d0f6cb10.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 2a9bd4121..51c63af4a 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -30,8 +30,7 @@ MICROPROFILE_DEFINE(GPU_wait, "GPU", "Wait for the GPU", MP_RGB(128, 128, 192));
GPU::GPU(Core::System& system_, bool is_async_, bool use_nvdec_)
: system{system_}, memory_manager{std::make_unique<Tegra::MemoryManager>(system)},
- dma_pusher{std::make_unique<Tegra::DmaPusher>(system, *this)},
- cdma_pusher{std::make_unique<Tegra::CDmaPusher>(*this)}, use_nvdec{use_nvdec_},
+ dma_pusher{std::make_unique<Tegra::DmaPusher>(system, *this)}, use_nvdec{use_nvdec_},
maxwell_3d{std::make_unique<Engines::Maxwell3D>(system, *memory_manager)},
fermi_2d{std::make_unique<Engines::Fermi2D>()},
kepler_compute{std::make_unique<Engines::KeplerCompute>(system, *memory_manager)},
@@ -494,8 +493,7 @@ void GPU::PushCommandBuffer(Tegra::ChCommandHeaderList& entries) {
// TODO(ameerj): RE proper async nvdec operation
// gpu_thread.SubmitCommandBuffer(std::move(entries));
- cdma_pusher->Push(std::move(entries));
- cdma_pusher->DispatchCalls();
+ cdma_pusher->ProcessEntries(std::move(entries));
}
void GPU::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {