d3d12: give a mesh pipeline the heap's stride table where a stage needs it #629

Merged
NickStallman merged 1 commit from upstream-pr/629 into main 2026-12-01 20:51:47 +00:00
NickStallman commented 2026-12-01 16:05:40 +00:00 (Migrated from github.com)

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

  • Lanes mesh-heap-stride: a mesh program reads its vertices from a structured heap buffer by vertex number; verify requires the index-map and stride-table binds.
  • Survey on 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).
  • Full python tuxbox.py check of 00c4fd3a (GE-Proton11-15): RTX 5090 (10de:2b85) 211 pass, AMD iGPU (1002:13c0) 210 pass, lanes-mesh-heap-stride included. The one failure on each is lanes-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 run

Not covered

  • The pixel stage of a mesh pipeline gets no stride table.
  • Not yet run in a title.

🤖 Generated with Claude Code

<!-- greyfinch-sync:brcly/TuxBox:issue:5589514995 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/629). Originally posted by [NickStallman](https://github.com/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 - Lanes `mesh-heap-stride`: a mesh program reads its vertices from a structured heap buffer by vertex number; `verify` requires the index-map and stride-table binds. - Survey on 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). - Full `python tuxbox.py check` of 00c4fd3a (GE-Proton11-15): RTX 5090 (`10de:2b85`) 211 pass, AMD iGPU (`1002:13c0`) 210 pass, `lanes-mesh-heap-stride` included. The one failure on each is `lanes-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 run` ## Not covered - The pixel stage of a mesh pipeline gets no stride table. - Not yet run in a title. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
brcly/TuxBox!629
No description provided.