mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 09:54:54 +00:00
amdgpu: non-blocking submitDone
This commit is contained in:
parent
9df1a8d15b
commit
dbdb3dc77e
2 changed files with 13 additions and 5 deletions
|
@ -40,7 +40,7 @@ void Liverpool::Process(std::stop_token stoken) {
|
|||
}
|
||||
}
|
||||
|
||||
void Liverpool::Wait() {
|
||||
void Liverpool::WaitGpuIdle() {
|
||||
std::unique_lock lock{m_ring_access};
|
||||
cv_complete.wait(lock, [this]() { return gfx_ring.empty(); });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue