GS/HW: Set m_channel_shuffle if late tests succeed

This commit is contained in:
Stenzek 2023-03-31 23:19:43 +10:00 committed by refractionpcsx2
parent 81ab2b9cd1
commit 5ce418cdaf
1 changed files with 2 additions and 1 deletions

View File

@ -2732,7 +2732,8 @@ bool GSRendererHW::TestChannelShuffle(GSTextureCache::Target* src)
(((m_vt.m_max.p - m_vt.m_min.p) <= GSVector4(64.0f)).mask() & 0x3) == 0x3); // single_page
// This is a little redundant since it'll get called twice, but the only way to stop us wasting time on copies.
return (shuffle && EmulateChannelShuffle(src, true));
m_channel_shuffle = (shuffle && EmulateChannelShuffle(src, true));
return m_channel_shuffle;
}
__ri bool GSRendererHW::EmulateChannelShuffle(GSTextureCache::Target* src, bool test_only)