mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
Each row of vertices is evaluated by folding the patch's four control point rows into four columns with the v weights, then weighting those along u, four vertices per register with one attribute component each. Cross products, normalization and the pole test become plain per-lane math, and the result is transposed into SimpleVertex order on the way out. The weights are stored one row per term so four steps load as one vector, and the control points are padded to full vectors in a single array. Colors now round to nearest on every platform. The SSE path already did, NEON and the scalar path truncated. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>