mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
video_core: a fix for multi submits processing (temporary code)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user