GPU: charge each gathered indirect execution #1313
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/fxceless--victory-fork!1313
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1313"
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?
@Filip722 on GitHub · 2026-11-26 13:50 UTC · original
Filip722:gpu-gather-budget-per-execution→main· +35 −11 · 1 files · 1 commits · openTwo gathered indirect draws can read the same argument offset. The gather set reused the same slot for both draws, so the clamp saw one record and charged the per-list budget once.
Allocate one offset-table slot per execution. Keep the existing slot limit and the existing individual-clamp fallback when a set fills. A linear slot counter also removes the per-set hash map.
Validation
a20809debecause the second execution reused slot 0. The fix gives it slot 1, preserves both offsets in the table and returns no slot after the table fills.Assisted by Codex (GPT-6.2-Sol High).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.