Skip to content

Commit

Permalink
GS/HW: Make sure if it's a shuffle when checking sources alpha min max.
Browse files Browse the repository at this point in the history
  • Loading branch information
lightningterror committed Sep 22, 2024
1 parent fc715d5 commit 467e2ee
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 @@ -2576,7 +2576,7 @@ void GSRendererHW::Draw()
// We don't know the alpha range of direct sources when we first tried to optimize the alpha test.
// Moving the texture lookup before the ATST optimization complicates things a lot, so instead,
// recompute it, and everything derived from it again if it changes.
if (src->m_valid_alpha_minmax)
if (!IsPossibleChannelShuffle() && src->m_valid_alpha_minmax)
{
CalcAlphaMinMax(src->m_alpha_minmax.first, src->m_alpha_minmax.second);

Expand Down

0 comments on commit 467e2ee

Please sign in to comment.