mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 03:32:07 +00:00
rsx: Fix write tagging when comments are transferred in by blit engine
This commit is contained in:
parent
4b443be881
commit
9f0090772a
@ -812,7 +812,7 @@ namespace rsx
|
||||
|
||||
#ifndef INCOMPLETE_SURFACE_CACHE_IMPL
|
||||
// Check if old_surface is 'new' and avoid intersection
|
||||
if (old_surface && old_surface->last_use_tag == write_tag)
|
||||
if (old_surface && old_surface->last_use_tag >= write_tag)
|
||||
{
|
||||
new_surface->set_old_contents(old_surface);
|
||||
}
|
||||
@ -943,7 +943,7 @@ namespace rsx
|
||||
|
||||
#ifndef INCOMPLETE_SURFACE_CACHE_IMPL
|
||||
// Check if old_surface is 'new' and avoid intersection
|
||||
if (old_surface && old_surface->last_use_tag == write_tag)
|
||||
if (old_surface && old_surface->last_use_tag >= write_tag)
|
||||
{
|
||||
new_surface->set_old_contents(old_surface);
|
||||
}
|
||||
|
@ -2939,7 +2939,8 @@ namespace rsx
|
||||
}
|
||||
else
|
||||
{
|
||||
dst_subres.surface->on_write();
|
||||
dst_subres.surface->on_write(rsx::get_shared_tag());
|
||||
m_rtts.notify_memory_structure_changed();
|
||||
}
|
||||
|
||||
if (rsx::get_resolution_scale_percent() != 100)
|
||||
|
Loading…
Reference in New Issue
Block a user