shader: name the opcode and both ranges when a masked arm overwrites its saved EXEC #3929
No reviewers
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!3929
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3927"
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?
@triggered02 on GitHub · 2026-12-03 11:06 UTC · original
triggered02:fix/3898-refusal-detail→main· +11 −3 · 2 files · 1 commits · merged 2026-12-03 11:42 UTCRefs #3900, first step as the issue scopes it: "put the opcode and registers into the refusal text and run the offline census on the 55 pipelines".
Why this is the useful first move. The refusal is the largest indirect-draw wall by calls (~46k of ~52k in one census, over 55 pipelines), and today nothing distinguishes two very different cases: a real overwrite of the mask the epilogue restores, or a register pair that is already dead after the restore — which would make the refusal a false positive. The message names neither the instruction nor the registers, so the census cannot be read either way.
Change. The refusal now carries the instruction, its destination range and the saved EXEC range, in both the vertex and pixel arm variants:
The safety check is untouched. Only the text changes:
if (width && dst < save.dst + (wave32 ? 1u : 2u) && save.dst < dst + width)still refuses exactly the same programs. Relaxing it is a separate decision that needs the census to show deadness, and that census needs the title's 55 pipelines, which I do not have here.Verification — Debian, clang-cl 19.1.1, Windows CPython in Wine,
maind2e6a4ed,compile_dxilbuilt from this branch, run on the container the existingvertex-mask-clobberfixture builds:The fixture assertion now pins that exact string, so the Windows job holds the detail rather than just the prefix.
What this does not establish. It does not show the overlap is dead or that relaxing the check is safe, and it makes no frame-time claim. The next step is the census grep on the 55 pipelines, which needs a host with the title data.
@chatgpt-codex-connector[bot] on GitHub · 2026-12-03 11:06 UTC · original · edited 2026-12-03 11:08 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
ef53f3dℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@R0Y00 on GitHub · 2026-12-03 11:42 UTC · original · approved these changes
Approved
ef53f3d3. The same overlap predicate still refuses the program. The message keeps its existing vertex/pixel prefix and adds the opcode, the written SGPR interval and the saved EXEC interval only on that refusal. Independently rebuilt compile_dxil with MSVC Debug and SDK DXC on Windows build 26300. ctest --preset dev --no-tests=error -j 1 --output-on-failure -R '^native_direct_container$' passed 1/1, including the exact saved-EXEC clobber message. This is a compiler diagnostic check, with no GPU run.