scarlett: scale preparation jobs with cores and optionally seed from shaders.rpf #115
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!115
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/115/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 23:31 UTC · original
NathansDomainSolutions:speedup/prep-jobs-and-pack-seed→main· +296 −1 · 5 files · 1 commits · merged 2026-11-24 23:34 UTCSummary
TUXBOX_SHADER_PREP_JOBS(1–32) overrides that. After #101, preparation compiles about 11k programs; it took 20 minutes on a 16-thread machine with the old fixed limit.TUXBOX_SCARLETT_SEED_PACK=1).project_tuxbox/shader_pack.pyscansshaders.rpffor its plain shader records (stored after the encrypted table of contents; nothing is decrypted). It inflates each one, keeps DXBC containers, and adds them to the request archive as<sha256>.dxbc, the format the runtime records. The first launch then prepares shaders that earlier runs never reached. Linked pairs, stencil variants and programs whose root signature arrives at pipeline creation are still recorded during play.docs/REFERENCES.md.Checks
tests/test_shader_pack.py; the full Python suite passes (222 tests).shaders.rpf(412 MB): 25,889 distinct DXBC programs found in 4.4 s. 5,527 of them are byte-identical to requests ProjectScarlett recorded at run time on this machine.This change was written with AI assistance (Claude Code, in two sessions) and checked as described above.
🤖 Generated with Claude Code