rsx: Limit full range blit target invalidation to nul sections only

This commit is contained in:
kd-11
2026-08-28 14:55:44 +03:00
committed by kd-11
parent e3585a4ec1
commit 37d64bf887
+4 -4
View File
@@ -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<Args>(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<Args>(extras)...);
bool force_dma_load = false;
if ((dst_w * dst_bpp) != dst.pitch)
{