gl: Do not attempt to re-flush an address if another thread flushes it first
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user