Skip to content

Commit

Permalink
liverpool: Flush vulkan work on task finish shadps4-emu#1802
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolix29 committed Dec 16, 2024
1 parent 06cfb40 commit 9f7c6d7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/video_core/amdgpu/liverpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -107,10 +110,6 @@ void Liverpool::Process(std::stop_token stoken) {

if (submit_done) {
VideoCore::EndCapture();

if (rasterizer) {
rasterizer->Flush();
}
submit_done = false;
}

Expand Down

0 comments on commit 9f7c6d7

Please sign in to comment.