mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
The arm64 vertex JIT had no morph support (the table entries were commented out), so every morphed format fell back to the step functions. Add the same morph steps x86 has: texcoords (plain and prescaled), normals, positions and the four color formats. Each step sums its frames the way its step function does as compiled: fused where that's plain C++, which the compiler turns into fused multiply-adds, and separate multiply and add where it's CrossSIMD. The unit test confirms they match bit for bit. Morph formats decode about 2.5-3x faster than with the steps. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>