GS/HW: Mask channel offsets in channel shuffle heuristic

This commit is contained in:
refractionpcsx2 2025-11-05 01:31:36 +00:00 committed by lightningterror
parent 9b4e3b8f74
commit b8680c3139

View File

@ -5457,7 +5457,9 @@ __ri bool GSRendererHW::EmulateChannelShuffle(GSTextureCache::Target* src, bool
// Adjust it back to the page boundary
min_uv.x -= block_offset.x * t_psm.bs.x;
min_uv.y -= block_offset.y * t_psm.bs.y;
// Mask the channel.
min_uv.y &= 2;
min_uv.x &= 8;
//if (/*GSLocalMemory::IsPageAligned(src->m_TEX0.PSM, m_r) &&*/
// block_offset.eq(m_r_block_offset))
{