mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
The test didn't compile: VERTS is captured by reference into testFormat, and MSVC won't use a captured constexpr as an array bound. Make it static. On arm64 it then failed on the UV prescale steps, by one ULP. The arm64 JIT and the NEON handwritten decoders fuse the multiply-add, and the steps only match that when the compiler contracts a * b + c - which clang does and MSVC doesn't, in Debug or Release. Spell out which one happens instead of relying on it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>