d3d12: record the cause for translated compute stand-ins #209
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/brcly--TuxBox!209
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/209/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?
@s3rius on GitHub · 2026-11-26 02:52 UTC · original
s3rius:d3d12/compute-stand-in-refusal→main· +20 −0 · 2 files · 1 commits · merged 2026-11-26 03:07 UTCSummary
The pipeline-failures TSV showed "stand-in after translation (cause not recorded)" for translated compute pipelines that ended up as stand-ins. This change makes the runtime record a refusal note at each stand-in return point in
runtime/d3d12/src/device/compute.rs—driver compile deadlineon the large-compile deadline path (both the translated and original-bytes retry), anddriver compile failed: 0x{code}when the driver rejects the translated pipeline — so the reason renders in the row's stages string (e.g.CS=<hash> CS.used=<key> CS.refused=driver compile failed: 0x80004005).Verified on Lanes
A pull request is not merged until Lanes passes on a GPU. Run:
python tuxbox.py checkpassed on this branchLanes not needed
No Lanes scenario is added. The change only adds a cause to the failure record — it is not something Lanes can exercise, and the cause depends on the host driver's compile outcome rather than guest behaviour. Its coverage is the unit test above; the broader GPU verification is still outstanding.
GPU, driver and backend:
Paste the summary printed at the end:
Checks
CI runs the Python unit tests, the shader compiler, DXBC, and XG layout tests, and a Windows typecheck of
tuxbox-d3d12.If this pull request changes evidence JSON, regenerate the results table and the progress map and include both files: