Commit Graph

7 Commits

Author SHA1 Message Date
1bdf2bf56c sgd5_effects: enforce database bounds in program_groups, guard program_identity EOF, validate layout 2026-11-25 06:19:27 +01:00
00f5ce6cca docs: point sgd5_effects at its --help usage line (#6628)
Squash-merged after diff review of PR #6628
2026-11-23 11:12:14 -06:00
dac28e6b19 Fix what the round-42 merges broke (tests and docs)
- shader_disasm: prune stale listings against every input, not the --skip-existing remainder (a resumed run
  deleted every listing it had just reused).
- progress_dashboard: a drive-letter path is never inside the repository off Windows (it printed user names);
  its own read_text helper is read_utf8, so the encoding check does not take it for pathlib's.
- Translator tests follow this round's rules: desc_lookup's BroadcastFirst in the typed-load condition walker;
  resinfo sizes are 0 past the last level and a 2D depth word is 0 (SHADER-388); SHADER-315 constant folding in
  the perm and i16 tests; #2089's structured wave64 emulation.
- test_semantic_translator_use: 57 oracle-only files merged before it are DEBT; test_spirv_tools_required is
  allowed (CI meta-test).
- Test fixes: image_fuzz fake writes the programs, preflight follows c506d00c's loader hint rule, feature_scan
  reads the first line of a pytest-decorated message, w64_graphics wording.
- docs: rows merged again in design.md, README.md, d3d12_vulkan.md; GameInput table rebuilt from #3172's rows;
  orphan rows in models.md and embedded_shaders.md; repeated bullets; anchors; a flag not on main.
- Repo rules: stdout guard on 14 programs; LF writes; csv lineterminator in bink_play.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:14:54 -05:00
c0439966f5 feat(tools): walk SGD5 effect boundaries from stored lengths
Follow the post-pass tables through the counted string pool and next record. Check both database terminators and keep opaque payload contents out of structural matching.

Refs: #2519, #3036
2026-11-22 14:58:19 -05:00
0029eba71b feat(tools): resolve material shader hashes through SGD5 effects
Accept the shader hash emitted by rpf9dump, retain every matching effect, and expose its techniques and stored passes even when it has no named compute program.

Refs: #2519, #3036
2026-11-22 14:32:29 -05:00
8c0c6be8e1 feat(tools): list SGD5 effects and their techniques
Allow a local package owner to identify both names before querying a stored pass. Expose duplicate effect records and technique rows, including effects with no techniques.

Refs: #3036
2026-11-22 14:24:59 -05:00
2c04cac129 feat(tools): resolve named SGD5 shader passes
Walk both native databases and resolve effect-local pass selections to the exact shader carve offsets. Include synthetic coverage and an opt-in package census for TEST-608.

Refs: #2519, #2891
2026-11-22 14:09:58 -05:00