mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
Bit exact against the PSP on every pixel of gpu/probe exp36-41 (over a million pixels of large, small, steep and slanted triangles): - Per triangle, the doubled area's 16-bit significand indexes a 256-segment reciprocal table, linear over each segment's low 8 bits (measured for all inputs; not the z/w table). - The x and y depth gradients are fixed point, 14 fractional bits per subpixel, from the exact edge cross products times that reciprocal. - The plane is anchored at the leftmost vertex, or the rightmost when the long edge (top to bottom) is strictly the right side of the triangle. - Each pixel takes the plane at its center, floored. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>