Skip to content

Commit

Permalink
GS/HW: Add missing blend optimization check
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Jun 24, 2024
1 parent fc4bdfd commit 8e891b0
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 @@ -4098,7 +4098,7 @@ void GSRendererHW::EmulateBlending(int rt_alpha_min, int rt_alpha_max, bool& DAT
((m_vt.m_max.c == GSVector4i::zero()).mask() & 0xfff) == 0xfff)
{
// If using modulate or is HIGHLIGHT by the vertex alpha is zero, we should be safe to kill it.
if (m_cached_ctx.TEX0.TFX == TFX_MODULATE || m_vt.m_max.c.a == 0)
if (!PRIM->TME || m_cached_ctx.TEX0.TFX == TFX_MODULATE || m_vt.m_max.c.a == 0)
{
if (m_conf.ps.blend_a == 0)
m_conf.ps.blend_a = 2;
Expand Down

0 comments on commit 8e891b0

Please sign in to comment.