From c0a1818bbf8e4d91a2565fa988af7d657381471b Mon Sep 17 00:00:00 2001 From: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com> Date: Thu, 24 Jul 2025 15:52:13 +0200 Subject: [PATCH] [GPU]: Call TickGPU This is my last try lol --- src/video_core/gpu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index a8bb584114..59d26dba6e 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -118,6 +118,7 @@ struct GPU::Impl { if (fast_path) { // Execute immediately and publish the result action(); + gpu_thread.TickGPU(); const u64 fence = ++last_sync_fence; // Mirror the normal path: advance current and wake any waiters current_sync_fence.store(fence, std::memory_order_release); @@ -293,6 +294,8 @@ struct GPU::Impl { auto raster_area = rasterizer->GetFlushArea(addr, size); rasterizer->FlushRegion(raster_area.start_address, raster_area.end_address - raster_area.start_address); raster_area.preemtive = true; + // Give GPU thread a chance to run that flush + gpu_thread.TickGPU(); return raster_area; } auto raster_area = rasterizer->GetFlushArea(addr, size);