Files
ppsspp/GPU/Common
Henrik RydgårdandClaude Opus 5.5 d3a23e94e9 Software transform: Don't write past the vertex buffer when clipping against the near plane
ClipTrianglesAgainstNearPlane took limits for the transformed vertices and
the output indices but never checked them, and the caller passed constants
(one of them a typo, 65336). Each partially clipped triangle adds two
vertices, so a large draw with many triangles crossing the near plane ran
off the end of transformed_ and crashed. Pass the real limits, and drop
triangles that don't fit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 23:01:24 +02:00
..