d3d12: give a mesh pipeline the heap's stride table where a stage needs it #629
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/629"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-12-01T16:05:40Z.
Stacked on #627; review that first. Until it merges, this branch also holds its commit.
A mesh or amplification stage that reads a heap buffer by element carries no stride, so it is refused on the root with the index map (#617) and its draws are left out. Compute pipelines and vertex/pixel pairs already retry with the heap's stride table; this adds the same for mesh pipelines. The request is the #617 one with the stride table appended, which needs #627 because that root has its headers last. The table keeps the stride table only when every stage translates on that root.
Refs #533. Filed with #627 and #628.
Measured
mesh-heap-stride: a mesh program reads its vertices from a structured heap buffer by vertex number;verifyrequires the index-map and stride-table binds.833e1217, with #628 as well: 5 refused mesh requests of one impostor family translate (2 plain, 3 fire variants; the 3 fire variants need #628). DXC and dxv pass for all six of the family (on the previous base).python tuxbox.py checkof00c4fd3a(GE-Proton11-15): RTX 5090 (10de:2b85) 211 pass, AMD iGPU (1002:13c0) 210 pass,lanes-mesh-heap-strideincluded. The one failure on each islanes-selftest-texture-publication(#625, fails on main too).Evidence: TuxBox check of 00c4fd3a2dc7, no uncommitted changes, no GPU checks: 13 passed, 0 failed, 0 not runNot covered
🤖 Generated with Claude Code