diff --git a/src/video_core/amdgpu/liverpool.cpp b/src/video_core/amdgpu/liverpool.cpp index 517420fe37..9fb00f6516 100644 --- a/src/video_core/amdgpu/liverpool.cpp +++ b/src/video_core/amdgpu/liverpool.cpp @@ -96,6 +96,9 @@ void Liverpool::Process(std::stop_token stoken) { if (task.done()) { task.destroy(); + if (rasterizer) { + rasterizer->Flush(); + } std::scoped_lock lock{queue.m_access}; queue.submits.pop(); @@ -107,10 +110,6 @@ void Liverpool::Process(std::stop_token stoken) { if (submit_done) { VideoCore::EndCapture(); - - if (rasterizer) { - rasterizer->Flush(); - } submit_done = false; }