liverpool: Back to less submits

This commit is contained in:
IndecisiveTurtle 2025-07-07 04:18:29 +03:00
parent ea9a2ac26a
commit 4238cd9fac

View file

@ -124,11 +124,6 @@ void Liverpool::Process(std::stop_token stoken) {
if (task.done()) {
task.destroy();
if (rasterizer) {
rasterizer->EndCommandList();
rasterizer->Flush();
}
std::scoped_lock lock{queue.m_access};
queue.submits.pop();
@ -140,6 +135,10 @@ void Liverpool::Process(std::stop_token stoken) {
if (submit_done) {
VideoCore::EndCapture();
if (rasterizer) {
rasterizer->EndCommandList();
rasterizer->Flush();
}
submit_done = false;
}