mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 04:35:56 +00:00
liverpool: Back to less submits
This commit is contained in:
parent
ea9a2ac26a
commit
4238cd9fac
1 changed files with 4 additions and 5 deletions
|
@ -124,11 +124,6 @@ void Liverpool::Process(std::stop_token stoken) {
|
||||||
if (task.done()) {
|
if (task.done()) {
|
||||||
task.destroy();
|
task.destroy();
|
||||||
|
|
||||||
if (rasterizer) {
|
|
||||||
rasterizer->EndCommandList();
|
|
||||||
rasterizer->Flush();
|
|
||||||
}
|
|
||||||
|
|
||||||
std::scoped_lock lock{queue.m_access};
|
std::scoped_lock lock{queue.m_access};
|
||||||
queue.submits.pop();
|
queue.submits.pop();
|
||||||
|
|
||||||
|
@ -140,6 +135,10 @@ void Liverpool::Process(std::stop_token stoken) {
|
||||||
|
|
||||||
if (submit_done) {
|
if (submit_done) {
|
||||||
VideoCore::EndCapture();
|
VideoCore::EndCapture();
|
||||||
|
if (rasterizer) {
|
||||||
|
rasterizer->EndCommandList();
|
||||||
|
rasterizer->Flush();
|
||||||
|
}
|
||||||
submit_done = false;
|
submit_done = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue