Shaders: read both databases and parse effect records in sequence #239
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!239
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/239/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-25 03:10 UTC · original
holdmysocks:claude/shader-second-db→master· +453 −154 · 3 files · 1 commits · merged 2026-11-25 03:31 UTCWhat
shaders.rpfholds two shader databases and SixNG read only the first. This reads both, and reads each effect record field by field instead of searching for its parts.u32list, the effect's variable table, a second sized block, the parameter blocks (stored in the record, or a reference to a shared block by key), names.Shaders::program).sixng shader-bindingsprints the databases, each effect's states and blocks, and each pass's state indices. The parameter index version is bumped so cached copies rebuild with the 22 new effects.Checked (one install)
Not decoded
u32list after the passes, the second sized block, the contents of the parameter blocks, the high byte of the block count.cargo clippyand the full test suite were not run locally; only the two shader reader tests and a type-check of the CLI.