GPU: charge each gathered indirect execution #1310
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-26T13:50:54Z.
Two 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.