mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
gl: Do not attempt to re-flush an address if another thread flushes it first
This commit is contained in:
parent
818dd88390
commit
2093134420
1 changed files with 3 additions and 6 deletions
|
@ -957,12 +957,9 @@ void GLGSRender::do_local_task()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//TODO: Validate flushing requests before appending to queue.
|
//Another thread has unlocked this memory region already
|
||||||
//Highly unlikely that this path will be taken
|
//Return success
|
||||||
LOG_ERROR(RSX, "Possible race condition for flush @address 0x%X", q.address_to_flush);
|
q.result = true;
|
||||||
|
|
||||||
//Process this address
|
|
||||||
q.result = m_gl_texture_cache.flush_section(q.address_to_flush);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
q.processed = true;
|
q.processed = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue