rsx: Fix write tagging when comments are transferred in by blit engine

This commit is contained in:
kd-11 2019-05-11 16:01:54 +03:00 committed by kd-11
parent 4b443be881
commit 9f0090772a
2 changed files with 4 additions and 3 deletions

View File

@ -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);
}

View File

@ -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)