mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
rsx: Exercise caution when testing for overlaps in invalidated sections
This commit is contained in:
parent
d9a1308624
commit
39ef39aa4e
1 changed files with 3 additions and 1 deletions
|
@ -505,8 +505,10 @@ namespace rsx
|
||||||
AUDIT(other != surface);
|
AUDIT(other != surface);
|
||||||
if (!other->is_flushable())
|
if (!other->is_flushable())
|
||||||
{
|
{
|
||||||
if (other->overlaps(*surface, section_bounds::full_range))
|
if (other->overlaps(*surface, section_bounds::confirmed_range))
|
||||||
{
|
{
|
||||||
|
// This should never happen. It will raise exceptions later due to a dirty region being locked
|
||||||
|
rsx_log.error("Excluded region overlaps with flushed surface!");
|
||||||
other->set_dirty(true);
|
other->set_dirty(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue