shader cache: validate stages, deduplicate cold compiles and bound prep queue #122

Manually merged
github merged 1 commit from gh-pr/122/head into gh-pr/122/base 2026-11-26 06:32:41 +00:00
Owner

@⁠Valdi320 on GitHub · 2026-11-25 00:16 UTC · original
Valdi320:work/scarlett-large-next → main · +520 −70 · 5 files · 1 commits · merged 2026-11-25 00:19 UTC

AI-assisted. Host cache could return checksum-valid wrong-stage DXIL and duplicate concurrent cold compiles. Enforce bounded regular snapshots, exact DXIL stage/profile and checksum; per-key advisory locks on cold misses, no temporary DXIL copy for warm prep; bounded preparation queue (2x jobs). Six real compiler processes: 6→1 compiles, identical bytes (tiny workload slower wall-clock). 20,059 no-op tasks: 38.6 MB→79.6 KB traced scheduler allocations. 239 Python tests. Physical #119 slot 86 control with new host worker: 8 draws/2048 pixels, 3 cold and 0 warm compiles. No retail, AMD, FPS or VRAM claim. See docs/SCARLETT_CACHE_INTEGRITY.md.

**@⁠Valdi320** on GitHub · 2026-11-25 00:16 UTC · [original](https://github.com/brcly/TuxBox/pull/122) `Valdi320:work/scarlett-large-next` → `main` · +520 −70 · 5 files · 1 commits · merged 2026-11-25 00:19 UTC AI-assisted. Host cache could return checksum-valid wrong-stage DXIL and duplicate concurrent cold compiles. Enforce bounded regular snapshots, exact DXIL stage/profile and checksum; per-key advisory locks on cold misses, no temporary DXIL copy for warm prep; bounded preparation queue (2x jobs). Six real compiler processes: 6→1 compiles, identical bytes (tiny workload slower wall-clock). 20,059 no-op tasks: 38.6 MB→79.6 KB traced scheduler allocations. 239 Python tests. Physical #119 slot 86 control with new host worker: 8 draws/2048 pixels, 3 cold and 0 warm compiles. No retail, AMD, FPS or VRAM claim. See docs/SCARLETT_CACHE_INTEGRITY.md.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:32:40 +00:00
github manually merged commit 0319929ea4 into gh-pr/122/base 2026-11-26 06:32:41 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.