tools: rank xshader refusals over ProjectScarlett's recorded requests #29
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!29
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/29/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?
@NathansDomainSolutions on GitHub · 2026-11-24 04:45 UTC · original
NathansDomainSolutions:tools/scarlett-refusal-triage→main· +257 −0 · 3 files · 1 commits · merged 2026-11-24 04:48 UTCRefs #16.
Shader preparation and the runtime worker report only a count of refused requests (for example, "1599 unsupported"). This PR adds
tools/triage_scarlett_shaders.py, which shows which translator gaps cost the most shaders. That makes it clearer which gaps to fix first.What it does
xshaderalone (no DXC/DXV) on every recorded.dxbc,.stenciland.linkrequest. It passes the same flagsruntime_shaders.compile_requestuses, so its results match the runtime's..unsupportedmarkers, because the runtime compares those files byte-for-byte against the key. The report holds xshader messages and request digests, not shader bytes.Current
main(b8ee94a) on 9,102 requests recorded through player selection: 4,383 translated, 4,719 refused, 0 failed.s_loadmimgwave reductionunverified mesh shader bindingsunmapped descriptor at sN + 0x_unverified EXEC electionMUBUF with a dynamic SOFFSET is unsupporteds_buffer_loadlane opmesh root address used as shader databuffer_store to a non-UAV tableraw buffer IDXEN needs the console descriptor stridev_readlaneunsupported DPP16 moveunsupported typed buffer format NAlso adds a short "ProjectScarlett refusals" section to
docs/SHADERS.md, plustests/test_triage_scarlett_shaders.py. The 6 new tests use a fake xshader to check message masking, request flags for link and stencil requests, ranking, and that the cache stays untouched. The full Python suite passes (113 tests).AI disclosure: written with Claude Code. I ran it against my local request corpus and reviewed the output.
🤖 Generated with Claude Code