gpu: an indirect batch opened before a shader that can write buffers takes no more records #204
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!204
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/204/head"
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-02 16:25 UTC · original
HeroOfOlympus:rt-indirect-batch→main· +3 −0 · 1 files · 1 commits · closed without mergingA batch's clamp runs where it was opened, so a record placed after a shader that can write buffers (
Batch::wrote) read stale arguments: RT shadows flickered (Linux, RX 9070 XT). Such a record now opens a new batch after the write; runs without writes between still share one batch, so it costs far less than taking in-place indirect executions out of batches (~5000–7700 per frame in play).🤖 Generated with Claude Code
@HeroOfOlympus on GitHub · 2026-12-02 16:40 UTC · original
Closing: the flicker turned out to be list translation order (VICTORY_THIN_ORDER-style), not batches.
@HioShan on GitHub · 2026-12-02 23:31 UTC · original
Thanks for narrowing this down. We see what looks like the same thing on an RX 9070 XT with RADV: in the evening the long shadows of bushes and palms flicker or drop out, and with
VICTORY_BVH_BUILDER=1every vegetation shadow flickers. Your closing note says the cause was list translation order rather than batches. Could you share that change, as a branch or a PR, even a rough one? We'd test it at the same evening spot and report back here.Pull request closed