shader cache: validate stages, deduplicate cold compiles and bound prep queue #122
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!122
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/122/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?
@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 UTCAI-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.