mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
The four-pixel bilinear sampler read its sixteen texels one at a time, each with its CLUT lookup and index transform, and loaded them as vectors afterwards. For CLUT4 and CLUT8 with a 32-bit palette and no index shift (by far the most common), and for 8888, the texels are now gathered in lanes: the index bytes, the nibble, the mask and start, then the palette entries. CrossSIMD gets Vec4S32::Gather and GatherU8 for it, one load per lane. LocoRoco executes 5.5% fewer instructions, Burnout 3%. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>