GS/HW: Restrict CPU Sprite abort to non-opaque draws

This commit is contained in:
refractionpcsx2 2024-05-21 16:53:59 +01:00
parent 92b707db99
commit 0ea98d6edb
1 changed files with 1 additions and 1 deletions

View File

@ -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); GSTextureCache::Target* rt = g_texture_cache->GetTargetWithSharedBits(m_cached_ctx.FRAME.Block(), m_cached_ctx.FRAME.PSM);