Validate mesh thread groups and initialize small amplification groups #81
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!81
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/81/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?
@bambermf on GitHub · 2026-11-22 01:47 UTC · original
shader/mesh-group-dimensions→main· +56 −18 · 5 files · 95 commits · closed without mergingMesh and amplification group dimensions now use the same checked thread count when read from PSV0, DXIL metadata, or the amplification register block. All-zero PSV0 dimensions still allow recovery from older shader metadata. Partially zero dimensions and oversized products produce a translation error.
The amplification prologue now initializes all four shared argument words even when the group has fewer than four lanes. Regression tests cover invalid dimensions at extraction and translation, and compile generated amplification shaders with 1, 3, and 128 lanes using DXC.
Tested with cargo test -p tombox-xshader --lib --test mesh on Windows.
@omonkeyz on GitHub · 2026-11-22 12:50 UTC · original
Main's history was rewritten, which auto-closed this PR. It is applied in
0caa263(merged ina0c9fd5) with your authorship kept, thanks!Pull request closed