diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-19 22:58:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-19 22:58:30 -0400 |
commit | 48495695655210c91a36a4e847aaa73278949991 (patch) | |
tree | daabac59bf0f4958aeaa3dbcf788728c8295f1bd /src/video_core/gpu.cpp | |
parent | bf66930fb9a9b22d0d21f3ad590085800f3cdde8 (diff) | |
parent | 7e665c2721863fe9784dd3de4aa430434fb10cff (diff) |
Merge pull request #1517 from bunnei/dma
GPU/DMA: Flush the source region and invalidate the destination region when doing a DMA transfer.
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 9ba7e3533..83c7e5b0b 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -27,8 +27,8 @@ GPU::GPU(VideoCore::RasterizerInterface& rasterizer) { maxwell_3d = std::make_unique<Engines::Maxwell3D>(rasterizer, *memory_manager); fermi_2d = std::make_unique<Engines::Fermi2D>(rasterizer, *memory_manager); maxwell_compute = std::make_unique<Engines::MaxwellCompute>(); - maxwell_dma = std::make_unique<Engines::MaxwellDMA>(*memory_manager); - kepler_memory = std::make_unique<Engines::KeplerMemory>(*memory_manager); + maxwell_dma = std::make_unique<Engines::MaxwellDMA>(rasterizer, *memory_manager); + kepler_memory = std::make_unique<Engines::KeplerMemory>(rasterizer, *memory_manager); } GPU::~GPU() = default; |