mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-26 17:37:03 +00:00
liverpool: Flush vulkan work on task finish
This commit is contained in:
parent
e7c4ffe032
commit
b0ec685f10
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue