rsx: Fully process texture if surface cache configuration changed

This commit is contained in:
kd-11 2022-03-06 12:45:46 +03:00 committed by kd-11
parent 8d3d290e33
commit 762b594927
1 changed files with 2 additions and 1 deletions

View File

@ -309,7 +309,8 @@ namespace rsx
if (!ref_image || surface->get_surface(rsx::surface_access::gpu_reference) == ref_image) if (!ref_image || surface->get_surface(rsx::surface_access::gpu_reference) == ref_image)
{ {
// Same image, so configuration did not change. // Same image, so configuration did not change.
if (surface->last_use_tag <= surface_cache_tag) if (surface_cache.cache_tag <= surface_cache_tag &&
surface->last_use_tag <= surface_cache_tag)
{ {
external_subresource_desc.do_not_cache = false; external_subresource_desc.do_not_cache = false;
return {}; return {};