Translate indexed mesh vertices and verify visible triangle coverage #498
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!498
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/498/head"
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?
@R0Y00 on GitHub · 2026-11-22 07:51 UTC · original
R0Y00:codex/indexed-mesh→main· +329 −39 · 9 files · 1 commits · merged 2026-11-22 07:58 UTCScope
Extend the bounded two-wave mesh specialization to one indexed vertex layout. Follow packed halfword indices, the specialized header and the constructed vertex descriptor to a three-word raw SRV fetch. Keep the vertex payload and both transforms on the GPU. Existing uniform-position callers retain their previous ABI.
Verification
python3 -B tests/mesh_indexed_check.py binary llvm-mc-15 llvm-objcopy-15 libLLVM-15.so.1assembled the source-built program and passed translation through the synthetic native container. Rejection controls include stale descriptors, missing waits and out-of-range indices.ctest --preset dev --no-tests=error -R "^mesh_(entry|indexed)_draw_" -Vexercises original and indexed fixtures on hardware and WARP, with a plain mesh shader and an instrumented variant.A full inventory contained 9,282 MS records. Of 531 records with native extents up to 1,200 bytes, one translated to an indexed vertex load under this exact specialization. Coverage counts include that one record. The other 530 short entries remain outside this verified profile.
With the partial triangle held fixed, applying nonidentity object and projection matrices produced a third footprint of 66 pixels. All 1,024 pixels and all exported positions matched an independently composed CPU reference on hardware and WARP.