mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 09:54:54 +00:00
video_core: a fix for multi submits processing (temporary code)
This commit is contained in:
parent
66b695f5c7
commit
62fd72009b
2 changed files with 13 additions and 5 deletions
|
@ -34,10 +34,15 @@ void Liverpool::Process(std::stop_token stoken) {
|
|||
gfx_ring.pop();
|
||||
}
|
||||
|
||||
ASSERT_MSG(dcb.size() != 0, "Empty command list received");
|
||||
ProcessCmdList(dcb.data(), dcb.size());
|
||||
ASSERT_MSG(!dcb.empty(), "Empty command list received");
|
||||
ProcessCmdList(dcb.data(), dcb.size_bytes());
|
||||
|
||||
cv_complete.notify_all();
|
||||
{
|
||||
std::unique_lock lock{m_ring_access};
|
||||
if (gfx_ring.empty()) {
|
||||
cv_complete.notify_all();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue