Files
sp00nz 099d59aa12 pb_exec: pipeline the rasteriser behind the executor
A batch becomes a job -- its triangles plus a copy of the per-pixel state --
that the workers draw while the executor decodes the next batch. Worker k
owns rows y % n == k of every job, so it can run ahead of the others without
breaking per-pixel draw order. Surface changes, clears, flips, reports,
semaphores, other subchannels, the executor-side raster path and the end of
every scan drain the pipeline first.

The per-pixel state moves out of s_gpu into RasterState, reached through a
thread-local pointer: the live copy on the executor, the job's on a worker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 00:52:05 -07:00
..