Files
metal2vulkan/crates
Anees Iqbal 451fe1896c Linear runs: checked frames of each shape, counting their merges
A WebGPU frame split at every indexed draw, as the consumer's many_passes test renders it: a
clear, then passes each loading and storing a target over a Private buffer beside a depth
attachment, each after a 1x1 encoder of no attachment whose state rasterizes nothing. The
consumer measured one merge a pass there on an RTX 5080 (707 passes apart, 706 merges), where
one merge a run is the rule. The test runs the frame in each of eight shapes (a
Depth32Float_Stencil8 attachment whose stencil each pass loads, or Depth32Float; the check
encoders or none; the passes' data from a no-copy buffer over host pages, or their own bytes
through setVertexBytes and setFragmentBytes) with the linear rule forced, prints each shape's
merges and compares the texels with a private texture's.

Verified: not yet run (a probe, to find which shape breaks the run).
(cherry picked from commit 6688871a54bd97cbd978675fb419a4be082afba7)
2026-11-08 07:41:02 -08:00
..