mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
DrawSpanVector now covers everything but logic ops and the signed blend factors. Stencil tests pick the SFail, ZFail or ZPass op per lane, and lanes that only get a new stencil keep their old color. Pixels are read and written in the framebuffer's own format, converting the whole span at once, and a span with all four pixels drawn is stored in one go. Only drawn pixels are written: spans are aligned in screen coordinates, so with a draw offset one can reach into a tile another thread is drawing. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
To get to 100% compatibility, we will need a software renderer as there are games out there that do tricks that can't really be faked in a sensible way. Useful for homebrew too that mix sw and accel rendering.