From 37d64bf887fb6a4b8241302a6dd33c8fa031952e Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 27 Jul 2026 18:05:59 +0300 Subject: [PATCH] rsx: Limit full range blit target invalidation to nul sections only --- rpcs3/Emu/RSX/Common/texture_cache.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpcs3/Emu/RSX/Common/texture_cache.h b/rpcs3/Emu/RSX/Common/texture_cache.h index 3ae0309bc2..a4ed8c993a 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache.h +++ b/rpcs3/Emu/RSX/Common/texture_cache.h @@ -1711,12 +1711,12 @@ namespace rsx lock.upgrade(); - // NOTE: Write flag set to remove all other overlapping regions (e.g shader_read or blit_src) - // NOTE: This step can potentially invalidate the newly created src image as well. - cache->invalidate_range_impl_base(cmd, rsx_range, invalidation_cause::cause_is_write | invalidation_cause::cause_uses_strict_data_bounds, {}, std::forward(extras)...); - if (use_null_region) [[likely]] { + // NOTE: Write flag set to remove all other overlapping regions (e.g shader_read or blit_src) + // NOTE: This step can potentially invalidate the newly created src image as well. + cache->invalidate_range_impl_base(cmd, rsx_range, invalidation_cause::cause_is_write | invalidation_cause::cause_uses_strict_data_bounds, {}, std::forward(extras)...); + bool force_dma_load = false; if ((dst_w * dst_bpp) != dst.pitch) {