Repository navigation
GPU: skip pipeline demand for empty compute dispatches - #2556
andrewpozdnakov7-jpg wants to merge 3 commits into
Conversation
|
Automated triage for the maintainers. Merge candidate. Re-reviewed after the rebase ( Generated by Claude Code |
|
I resolved the conflict with #1320 in 301b753. Both tests are retained. With the same WARP fixture on Please retain the Git author on cherry-pick or rebase. If you fold the fix or test into another commit, please add this trailer. Co-authored-by: andrewpozdnakov7-jpg andrewpozdnakov7-jpg@users.noreply.github.com |
|
Code review and hardware + WARP verification at head
Looks clean and ready to merge. |
…compute dispatches
…compute dispatches
A compute dispatch with a zero group count on any axis has no shader work. Through both
DispatchandDispatchX, VIctory still requested the pending pipeline and could wait for it or count the command as dropped. Skip the empty grid before pipeline lookup. D3D12 dispatch argumentsThe same synthetic pipeline-demand test fails on
da82e444ec46a162ca779c82d4cf191a69182971and passes on1fe443d75b3a41b64c50ff95b583c323024ae131. Zero X, Y and Z leave the pipeline unused with the patch. A nonempty control still requests it.Windows/WARP GPU suite passed with 199 passed and 1 ignored under both D3D12 debug flag settings. Strict GPU Clippy passed with default and all features, and the asset policy passed. AI-assisted.
GitHub CI passed the GPU crate tests. The shader test
heap_direct_texture_reads_mark_their_heap_indexfailed at the same WARP assertion on both the PR and the unmodified base. Base CI · PR CIPlease preserve Git authorship if cherry-picking. If this is folded into another commit, please include the trailer below.
Co-authored-by: andrewpozdnakov7-jpg andrewpozdnakov7-jpg@users.noreply.github.com
Coordination claim