rsx: Touch locked dst memory after blit transfer operations in case it is locked by WCB/WDB

This commit is contained in:
kd-11 2020-01-15 16:12:23 +03:00 committed by kd-11
parent 9084209cfc
commit 309251ce7a

View file

@ -2589,6 +2589,19 @@ namespace rsx
dst_subres.surface->on_write_copy(rsx::get_shared_tag());
m_rtts.notify_memory_structure_changed();
// Reset this object's synchronization status if it is locked
lock.upgrade();
if (const auto found = find_cached_texture(dst_subres.surface->get_memory_range(), 0, false, false))
{
if (found->is_locked())
{
verify(HERE), found->is_flushable();
found->touch(m_cache_update_tag);
update_cache_tag();
}
}
if (src_is_render_target)
{
if (helpers::is_gcm_depth_format(typeless_info.src_gcm_format) !=