Pass amplification Y and Z group counts to DispatchMesh #136
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!136
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/136/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?
@Yeetbot159 on GitHub · 2026-11-22 15:09 UTC · original
Yeetbot159:yeet/dispatch-mesh-yz→main· +28 −2 · 3 files · 1 commits · closed without mergingSummary
DispatchMeshwas called with Y and Z fixed at 1, so a shader that set those counts still launched a single row of groups.max(..., 1u)turns that into 1, becauseDispatchMeshrejects a zero count.Test plan
cargo test -p tombox-xshader --test synthetic amplification_dispatch_uses_the_y_and_z_group_counts -- --exact amplification_dispatch_uses_the_y_and_z_group_countspassed.amp_hlsl_dispatches_from_the_args_entryasserts the same call. It stays ignored here because it needsanalysis/shaders/console_xsc.@omonkeyz on GitHub · 2026-11-22 15:28 UTC · original
Applied in
df91928(merged in9865896) with your authorship kept, thanks!Pull request closed