Pass amplification Y and Z group counts to DispatchMesh #136
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/136"
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 omonkeyz/xbox-emulator. Originally posted by Yeetbot159 on 2026-11-22T15:09:22Z.
Summary
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.Imported from omonkeyz/xbox-emulator. Originally posted by omonkeyz on 2026-11-22T15:28:58Z.
Applied in
df91928(merged in9865896) with your authorship kept, thanks!Pull request closed