draw

module pkg::alloy::gpu::cpu::rastersource

Triangles into pixels for the CPU device, by WebGPU's rules: clipped against the near plane, mapped to the target with y down, covered where a pixel's center is inside by the top-left rule (edges in fixed point, 8 bits under the pixel), outputs interpolated with perspective (integers flat, from the first vertex), the fragment stage run per pixel and its color blended into the target.