mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
With depth clip off, the GE doesn't clip triangles and lines at the near plane: the part beyond it is drawn with extrapolated depth, and a vertex behind the camera (w <= 0) culls the whole primitive instead. With it on, they're clipped, and a vertex that gets clipped away can't cull the primitive by being outside the screen range (w = 0 included). Rects, which aren't clipped, are culled by a vertex behind the camera either way. Measured with gpu/probe. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>