Shaders: pipeline cache joined to the programs (shader-bindings --cache) #155
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/holdmysocks--SixNG!155
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/155/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?
@holdmysocks on GitHub · 2026-11-24 13:28 UTC · original
holdmysocks:claude/shader-pipeline-cache→master· +303 −7 · 3 files · 4 commits · merged 2026-11-24 13:41 UTCSecond part of SIX-95, on top of #147 (merged).
What
sixng shader-bindings --cachealso reads the pipeline cache (the compressed entry ofshaders.rpf) and joins its stages to the compiled programs.0x42= a resource the compiled code uses (access, type, register, space);0x43= a 16-byte digest that is also in the compiled program, which joins a stage to a program record.--programs --cacheevery declared resource of a program getsused: true / false, and the program getscompiled.pipelines.Checked on the game data
cargo test -p sixng-core: 164 passed (one new test on a synthetic cache).Not decoded
0x41records (where the code finds each resource), the state and vertex-layout blobs, and the code itself.