Write rasterization kernel.