diff options
| author | bunnei <bunneidev@gmail.com> | 2019-03-07 10:41:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-07 10:41:53 -0500 |
| commit | 4f352833a5b94e900ed7afb3b84eeda1bb5fab3d (patch) | |
| tree | 48af4d722e551f55a117244f986c11e47e7b27e5 /src/video_core/engines/maxwell_dma.cpp | |
| parent | 076c76f4e41602f94c06e23f5d1f1ff1cddca95b (diff) | |
| parent | 84ad81ee6798ece6c66016c4581b5fe57ce7b20e (diff) | |
Merge pull request #2055 from bunnei/gpu-thread
Asynchronous GPU command processing
Diffstat (limited to 'src/video_core/engines/maxwell_dma.cpp')
| -rw-r--r-- | src/video_core/engines/maxwell_dma.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp index 0474c7ba3..9dfea5999 100644 --- a/src/video_core/engines/maxwell_dma.cpp +++ b/src/video_core/engines/maxwell_dma.cpp @@ -92,12 +92,12 @@ void MaxwellDMA::HandleCopy() { const auto FlushAndInvalidate = [&](u32 src_size, u64 dst_size) { // TODO(Subv): For now, manually flush the regions until we implement GPU-accelerated // copying. - rasterizer.FlushRegion(*source_cpu, src_size); + Core::System::GetInstance().GPU().FlushRegion(*source_cpu, src_size); // We have to invalidate the destination region to evict any outdated surfaces from the // cache. We do this before actually writing the new data because the destination address // might contain a dirty surface that will have to be written back to memory. - rasterizer.InvalidateRegion(*dest_cpu, dst_size); + Core::System::GetInstance().GPU().InvalidateRegion(*dest_cpu, dst_size); }; if (regs.exec.is_dst_linear && !regs.exec.is_src_linear) { |
