From 762b594927b34140c86b5c9bb578f47ce1b58c08 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 6 Mar 2022 12:45:46 +0300 Subject: [PATCH] rsx: Fully process texture if surface cache configuration changed --- rpcs3/Emu/RSX/Common/texture_cache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/texture_cache.h b/rpcs3/Emu/RSX/Common/texture_cache.h index 0316f0cd50..ac1f5e2632 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache.h +++ b/rpcs3/Emu/RSX/Common/texture_cache.h @@ -309,7 +309,8 @@ namespace rsx if (!ref_image || surface->get_surface(rsx::surface_access::gpu_reference) == ref_image) { // 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; return {};