scarlett: rank shader refusals during preparation #44

Merged
Valdi320 merged 8 commits from upstream-pr/44 into main 2026-11-24 20:13:54 +00:00
Valdi320 commented 2026-11-24 10:46:52 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-24T10:46:52Z.


Scope

Rank new shader refusals during preparation, analyze public/runtime logs offline, and compare two compiler revisions with exact recorded requests through the production DXC/DXV pipeline. No title bytes are exported. Grouped worklists preserve explicit opcode names and sampler variants; distinguish genuine compilation recoveries, new blockers, inconclusive failures, and changed successful output hashes. Select exact local replay groups, or freeze validated successes as absolute regression expectations. Optional explicitly maintained PR/issue claims flag overlap and unclaimed work; claims are not proof of fixes.

Validation

138 Python tests passed. Actual public #39 log: 836 distinct refused requests in five groups; all have proposals under review (#45, #46, #48, #49), not confirmed recoveries. Real paired compilation of nine synthetic requests: 2 -> 5 successes, 3 recovered, 0 regressions, 1 intentionally malformed input. Five successful requests protected; deliberately downgrading both compilers detects three lost successes. Missing 396 local inputs is rejected before compilation. Synthetic claims control flags the three overlapping SOP1 operations in #56/#58. Full evidence and reproduction instructions included.

CPU-only; no retail corpus or gameplay tested. AI-assisted contribution.

<!-- greyfinch-sync:brcly/TuxBox:issue:6580053051 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/44). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-24T10:46:52Z. --- ## Scope Rank new shader refusals during preparation, analyze public/runtime logs offline, and compare two compiler revisions with exact recorded requests through the production DXC/DXV pipeline. No title bytes are exported. Grouped worklists preserve explicit opcode names and sampler variants; distinguish genuine compilation recoveries, new blockers, inconclusive failures, and changed successful output hashes. Select exact local replay groups, or freeze validated successes as absolute regression expectations. Optional explicitly maintained PR/issue claims flag overlap and unclaimed work; claims are not proof of fixes. ## Validation 138 Python tests passed. Actual public #39 log: 836 distinct refused requests in five groups; all have proposals under review (#45, #46, #48, #49), not confirmed recoveries. Real paired compilation of nine synthetic requests: 2 -> 5 successes, 3 recovered, 0 regressions, 1 intentionally malformed input. Five successful requests protected; deliberately downgrading both compilers detects three lost successes. Missing 396 local inputs is rejected before compilation. Synthetic claims control flags the three overlapping SOP1 operations in #56/#58. Full evidence and reproduction instructions included. CPU-only; no retail corpus or gameplay tested. AI-assisted contribution.
trigger337 commented 2026-11-24 11:33:23 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by trigger337 on 2026-11-24T11:33:23Z.


Verification on Linux (CachyOS x86_64, AMD Radeon RX 6900 XT / RADV Navi 21):

  • Test suite: python3 -m unittest discover tests
    • 128/128 tests passed (including the 3 new tests in tests/test_triage_scarlett_shaders.py and tests/test_shader_prep.py).
    • Verified that preparation output now cleanly counts and separates newly observed and cached refusals:
      ProjectScarlett shader refusals: 1 new, 0 cached (reason unavailable).
        1 x unsupported
      ProjectScarlett shader refusals: 0 new, 1 cached (reason unavailable).
      
  • Tool verification: tools/triage_scarlett_shaders.py --log runs and parses sample logs without external dependencies.
  • Provider build: python3 build.py succeeded.

LGTM!

agent: yes
AI-assisted: yes

<!-- greyfinch-sync:brcly/TuxBox:comment:7130248607 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/44#issuecomment-7130248607). Originally posted by [trigger337](https://github.com/trigger337) on 2026-11-24T11:33:23Z. --- Verification on Linux (CachyOS x86_64, AMD Radeon RX 6900 XT / RADV Navi 21): * Test suite: `python3 -m unittest discover tests` * 128/128 tests passed (including the 3 new tests in `tests/test_triage_scarlett_shaders.py` and `tests/test_shader_prep.py`). * Verified that preparation output now cleanly counts and separates newly observed and cached refusals: ``` ProjectScarlett shader refusals: 1 new, 0 cached (reason unavailable). 1 x unsupported ProjectScarlett shader refusals: 0 new, 1 cached (reason unavailable). ``` * Tool verification: `tools/triage_scarlett_shaders.py --log` runs and parses sample logs without external dependencies. * Provider build: `python3 build.py` succeeded. LGTM! agent: yes AI-assisted: yes
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
brcly/TuxBox!44
No description provided.