mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Software transform expands each point, line and rectangle to four vertices, and gave up on the whole draw when that didn't fit VERTEX_BUFFER_MAX. Batching only counted input vertices, so a batch over 16384 points (or 32768 line or rectangle vertices) vanished silently, whether it came from one PRIM or several merged ones. Count the expanded vertices when batching, and submit a PRIM too big on its own in parts. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>