Expand description
Quantized raster-space vertex buffer for output-space tile invalidation.
Each primitive and clip gets its transformed, raster-space corners stored here as quantized i32 values. The tile descriptor stores a VertRange referencing into this buffer instead of a picture-space prim_clip_box or spatial node dependency.
Structs§
- Corners
Cache - Persistent per-tile-cache scratch and transform cache for computing raster-space corners.
- Vert
Range - A reference into a per-tile vert_data buffer: offset (in i32 elements) and count. count is 4 for an axis-aligned rect (2 corners × 2 coords), 8 for a non-axis-aligned quad (4 corners × 2 coords), or 16 for a transform fingerprint emitted when a perspective-projected rect crosses the camera plane (4 corners × homogeneous (x, y, z, w) coords).
Constants§
- VERT_
QUANTIZE_ SCALE - Sub-pixel quantization scale: quarter-pixel precision.