Files
metal2vulkan/crates
Anees Iqbal 8e58f76b24 Fan out a rate-mapped pass's triangles in a synthesized geometry stage
A render pipeline variant keyed by VariantKey::region_fan_out draws a rate-mapped
pass's triangles once: its triangle class's geometry stage finds, per axis, the
region segments a triangle's NDC bounds touch (a bisection over the region table,
bind::fan_out::table), and emits a copy per touched region, mapped from the one
full-target viewport into the region's and clipped to its pixels by four clip
distances. A probe variant emits nothing and flags (at a pushed index) a draw
whose triangle crosses w = 0 or touches more regions than the stage's copies.

Not yet compiled; potluck clippy and tests follow.
2026-11-12 16:53:03 -08:00
..