tools: rank xshader refusals over ProjectScarlett's recorded requests #29
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/29"
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?
Imported from brcly/TuxBox. Originally posted by NathansDomainSolutions on 2026-11-24T04:45:10Z.
Refs #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