mirror of https://github.com/RPCS3/rpcs3.git
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
|
#ifndef INCOMPLETE_SURFACE_CACHE_IMPL
|
||||||
// Check if old_surface is 'new' and avoid intersection
|
// 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);
|
new_surface->set_old_contents(old_surface);
|
||||||
}
|
}
|
||||||
|
@ -943,7 +943,7 @@ namespace rsx
|
||||||
|
|
||||||
#ifndef INCOMPLETE_SURFACE_CACHE_IMPL
|
#ifndef INCOMPLETE_SURFACE_CACHE_IMPL
|
||||||
// Check if old_surface is 'new' and avoid intersection
|
// 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);
|
new_surface->set_old_contents(old_surface);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2939,7 +2939,8 @@ namespace rsx
|
||||||
}
|
}
|
||||||
else
|
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)
|
if (rsx::get_resolution_scale_percent() != 100)
|
||||||
|
|
Loading…
Reference in New Issue