Skip to content

Commit

Permalink
GS/HW: Restrict CPU Sprite abort to non-opaque draws
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed May 22, 2024
1 parent 92b707d commit 0ea98d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/GS/Renderers/HW/GSRendererHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0ea98d6

Please sign in to comment.