mirror of
https://github.com/sp00nznet/xboxrecomp.git
synced 2026-12-05 01:52:57 +00:00
099d59aa12
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>