From 0ea98d6edb40d133eb2e4b6efba7bd4539ed4b89 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Tue, 21 May 2024 16:53:59 +0100 Subject: [PATCH] GS/HW: Restrict CPU Sprite abort to non-opaque draws --- pcsx2/GS/Renderers/HW/GSRendererHW.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index 033d4ef15dbce..c4282db1950e2 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -6281,7 +6281,7 @@ bool GSRendererHW::CanUseSwPrimRender(bool no_rt, bool no_ds, bool draw_sprite_t } } - if (PRIM->ABE && m_vt.m_eq.rgba == 0xffff) + if (PRIM->ABE && m_vt.m_eq.rgba == 0xffff && !m_context->ALPHA.IsOpaque(GetAlphaMinMax().min, GetAlphaMinMax().max)) { GSTextureCache::Target* rt = g_texture_cache->GetTargetWithSharedBits(m_cached_ctx.FRAME.Block(), m_cached_ctx.FRAME.PSM);