startup: indirect draws refused with "masked vertex arm overwrites its saved EXEC" (largest indirect refusal by calls) #3900
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#3900
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?
@SimSalabimse on GitHub · 2026-12-02 23:22 UTC · original
Summary
For indirect draws, the largest single refusal is "masked vertex arm overwrites its saved EXEC". The scan that decides whether a masked vertex arm is safe refuses any arm instruction whose scalar destination overlaps the register where the arm's entry EXEC was saved.
What was measured
One native-path run of about 410 s on the Windows test PC (Simsalabim), from the indirect-draw refusal census:
What is not known
Whether the overlapping register pair is already dead after the restore (a false positive) or a real overwrite of the mask the epilogue restores. A first step would be to put the opcode and registers into the refusal text and run the offline census on the 55 pipelines; nothing has been proven yet.
Related
AI-Assisted
@triggered02 on GitHub · 2026-12-03 11:00 UTC · original
Claiming the first step this issue asks for: put the opcode and the overlapping registers into the refusal text, so the offline census can say whether the pair is dead after the restore (a false positive) or a real overwrite of the saved mask.
Scope I will take: the refusal message and the scan that produces it, plus the fixture coverage for both outcomes. I am not going to relax the safety check — that decision needs the census on the 55 pipelines to show the overlap is dead, and I cannot run that here without the title's data.
What I can verify on this host: the translator is a CPU-side tool, so I can build
compile_dxil/the shim with clang-cl and run thestartup_gfx2hlsl_*/native_*_controlsfixtures under Wine, plus the pure-Python checks. I will show the new message text on a synthetic program that hits the scan.What I cannot do here: the 55-pipeline census and any frame-time claim. If the diagnostic shows nothing conclusive, the issue will say so rather than turn into a speculative relaxation of the check.
Overlap: #3900 has no comments, no assignee, and no draft PR (the issue says so and a search agrees — #3423 is unrelated and already merged).
AI-assisted.