diff options
Diffstat (limited to 'src/video_core/dma_pusher.cpp')
| -rw-r--r-- | src/video_core/dma_pusher.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp index 9f85a7aca..23ec97944 100644 --- a/src/video_core/dma_pusher.cpp +++ b/src/video_core/dma_pusher.cpp | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include "common/microprofile.h" | ||
| 5 | #include "core/core.h" | 6 | #include "core/core.h" |
| 6 | #include "core/memory.h" | 7 | #include "core/memory.h" |
| 7 | #include "video_core/dma_pusher.h" | 8 | #include "video_core/dma_pusher.h" |
| @@ -14,7 +15,11 @@ DmaPusher::DmaPusher(GPU& gpu) : gpu(gpu) {} | |||
| 14 | 15 | ||
| 15 | DmaPusher::~DmaPusher() = default; | 16 | DmaPusher::~DmaPusher() = default; |
| 16 | 17 | ||
| 18 | MICROPROFILE_DEFINE(DispatchCalls, "GPU", "Execute command buffer", MP_RGB(128, 128, 192)); | ||
| 19 | |||
| 17 | void DmaPusher::DispatchCalls() { | 20 | void DmaPusher::DispatchCalls() { |
| 21 | MICROPROFILE_SCOPE(DispatchCalls); | ||
| 22 | |||
| 18 | // On entering GPU code, assume all memory may be touched by the ARM core. | 23 | // On entering GPU code, assume all memory may be touched by the ARM core. |
| 19 | gpu.Maxwell3D().dirty_flags.OnMemoryWrite(); | 24 | gpu.Maxwell3D().dirty_flags.OnMemoryWrite(); |
| 20 | 25 | ||