mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-27 02:32:02 -04:00
3094ed7368
Move texpage/clut/depth/raw/uv-limits from per-prim uniforms into flat vertex attributes (TEXV=18-float vertex). Keeps per-prim draws for now — verified pixel-identical in the Tomba village and perf-neutral (scene_gpu 28.3 vs 28.4ms; the cost is draw-call bound, not vertex-data bound). This is the foundation for coalescing consecutive same-state textured prims into one draw: with texture state per-vertex, only blend/mask/texwindow remain as batch keys. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>