liverpool: Flush vulkan work on task finish

This commit is contained in:
IndecisiveTurtle 2024-12-16 02:18:06 +02:00
parent e7c4ffe032
commit b0ec685f10

View file

@ -123,6 +123,10 @@ 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();
@ -134,10 +138,6 @@ void Liverpool::Process(std::stop_token stoken) {
if (submit_done) {
VideoCore::EndCapture();
if (rasterizer) {
rasterizer->Flush();
}
submit_done = false;
}