gpu: keep in-place indirect dispatches out of earlier batches #121
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!121
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-121"
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?
@HeroOfOlympus on GitHub · 2026-12-01 22:20 UTC · original
HeroOfOlympus:fix-ordered-indirect-dispatch→main· +2 −1 · 1 files · 1 commits · closed without mergingexecute_indirect marks executions whose arguments or count buffer live in place (ordered = in_place) to be clamped alone right before execution (Alone: no batch at all). However, self.batch stayed open and single-record in_place indirect dispatches (kind == DISPATCH, max == 1, count.is_none()) were still folded into an earlier batch clamp recorded before the compute pass that writes their arguments in title memory. With triple-buffered indirect argument buffers (such as tiled RT sun shadow dispatches), batching them ahead of their producer caused a deterministic 3-frame shadow flicker cycle. Clear self.batch when ordered && kind == DISPATCH and exclude ordered && kind == DISPATCH from batched, while keeping DRAW / INDEXED / MESH batching intact.
f19ebe5a6eto0c82044670Pull request closed