mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00: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
|
||||
{
|
||||
//TODO: Validate flushing requests before appending to queue.
|
||||
//Highly unlikely that this path will be taken
|
||||
LOG_ERROR(RSX, "Possible race condition for flush @address 0x%X", q.address_to_flush);
|
||||
|
||||
//Process this address
|
||||
q.result = m_gl_texture_cache.flush_section(q.address_to_flush);
|
||||
//Another thread has unlocked this memory region already
|
||||
//Return success
|
||||
q.result = true;
|
||||
}
|
||||
|
||||
q.processed = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue