From fa5aedc906eba9aa326ae0ddf31da6e11a02d389 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Thu, 9 Nov 2023 11:17:06 +0000 Subject: [PATCH] GS/HW: Don't convert old depth if being overwritten --- pcsx2/GS/Renderers/HW/GSTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp index 9352d702ec9ee..0e790370fef04 100644 --- a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp +++ b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp @@ -1920,7 +1920,7 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(GIFRegTEX0 TEX0, const GSVe dst_match = t; break; } - else if (t->m_age == 1) + else if (t->m_age == 1 && (preserve_rgb || (preserve_alpha && (dst_match->m_valid_alpha_low || dst_match->m_valid_alpha_high)))) { dst_match = t; }