mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-27 02:32:02 -04:00
1964447438
Adds prims/frame and per_prim_us to the frame_perf aggregate. Proved Tomba's village is draw-call bound: ~1000 prims/frame at ~14us of GPU time PER glDrawArrays (a 1-triangle draw should be <1us) — pipeline-flush overhead from re-binding state between every primitive. 16:9 is 2x slower purely because the native-wide double-draw issues 2x the draw calls. Points squarely at draw batching (group consecutive same-state prims) as the fix. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>