mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 19:36:55 +02:00
727e7d1930
OpGroupNonUniformShuffle with Subgroup scope only reaches 32 lanes on this hardware, but GCN wave64 code expects all 64. A decoupled-lookback prefix scan broadcasts its ticket across the whole wave, so the subgroup-scoped lowering silently read the wrong lane. Lower the broadcast across the workgroup instead. DS_BPERMUTE and DS_SWIZZLE keep the raw subgroup id: they are defined on independent 32-lane halves and must not be widened.