summaryrefslogtreecommitdiff
path: root/src/video_core/dma_pusher.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-12-26 22:14:10 -0300
committerGravatar ReinUsesLisp2020-02-28 17:56:41 -0300
commiteed789d0d134fbeef1c16f9829b5c1b4b7dabb17 (patch)
tree4a7dba754df1a71c29de64cfaab34b56b0d72dff /src/video_core/dma_pusher.cpp
parentgl_state: Remove completely (diff)
downloadyuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.tar.gz
yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.tar.xz
yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.zip
video_core: Reintroduce dirty flags infrastructure
Diffstat (limited to 'src/video_core/dma_pusher.cpp')
-rw-r--r--src/video_core/dma_pusher.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp
index a42d37c81..713c14182 100644
--- a/src/video_core/dma_pusher.cpp
+++ b/src/video_core/dma_pusher.cpp
@@ -21,6 +21,9 @@ MICROPROFILE_DEFINE(DispatchCalls, "GPU", "Execute command buffer", MP_RGB(128,
21void DmaPusher::DispatchCalls() { 21void DmaPusher::DispatchCalls() {
22 MICROPROFILE_SCOPE(DispatchCalls); 22 MICROPROFILE_SCOPE(DispatchCalls);
23 23
24 // On entering GPU code, assume all memory may be touched by the ARM core.
25 gpu.Maxwell3D().OnMemoryWrite();
26
24 dma_pushbuffer_subindex = 0; 27 dma_pushbuffer_subindex = 0;
25 28
26 while (Core::System::GetInstance().IsPoweredOn()) { 29 while (Core::System::GetInstance().IsPoweredOn()) {