shader: the mesh back-edge scan refuses stages at words the forward pass never reaches #3894
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3894
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@lukaslw-lab on GitHub · 2026-12-02 21:53 UTC · original
The back-edge scan that #3709 (mine) added to
lower_meshdecodes the code blob linearly withgfx1013::instruction, which throws on a word without a known opcode. The scan runs before the forward pass, so such a word refuses the stage even when the forward pass stops earlier or never reaches it. The stage's real first refusal is hidden.25f8ebec5, 6,685 distinct mesh programs from a local captureunknown gfx1013 opcodee143824c8andunknown gfx1013 opcode 0at7c9f26398(#3709).v_readfirstlane_b32and the heap-slot provenance one.Proposal: end the scan at a word without a known opcode. The forward pass still refuses that word if it reaches it, and refuses any back edge the scan did not record. The PR follows.
Part of #3705. AI-assisted.
github-bot referenced this issue2026-12-02 21:54:40 +00:00
s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705github-bot referenced this issue2026-12-03 01:08:36 +00:00
github-bot referenced this issue2026-12-03 01:36:08 +00:00