diff options
| author | Headache3318 <123241725+Headache3318@users.noreply.github.com> | 2026-11-24 04:47:04 -0500 |
|---|---|---|
| committer | Headache3318 <123241725+Headache3318@users.noreply.github.com> | 2026-11-24 04:47:04 -0500 |
| commit | 76b9d170cbf28cab82ab6abed660121b0f1a4b25 (patch) | |
| tree | 830b8d6d32d38745e6a6db17d97c6c3bbb85db68 /runtime/src/main.cpp | |
| parent | 7430f59b2755418f5db1682446a4ccef10d455b1 (diff) | |
make_game: the stage tool lists must name the decoder they run through
Claimed in the coordination issue as: STAGE-DEP-CACHE (#14).
FSPX_TOOLS, LIBRARY_TOOLS and BVH_TOOLS key the shaders, pipeline-library and BVH caches on the bytes of the
programs that produced them, but none of them names the decoder half of the chain: fspx_unpack.py --disasm imports
shader_disasm.py (tools/fspx_unpack.py:205), which decodes through rdna2_decode.py, its tables and mc_command.py. An
edited decoder therefore left the old listings in the cache and got them translated again, so the fix was in the
cache, not on the disk. The library stage also carves with shader_carve.py (tools/shader_library.py:201), which was
not listed either.
tests/test_shader_stage_resume.py gets a case that fails when a module the chain imports is missing from the list,
so the next link added to the chain cannot be left out silently again.
AI-assisted (Hermes agent on behalf of @Headache3318). Tested at base 7430f59b2 on Arch Linux, 8-core x86-64,
python 3.14.9, with the repo's standard-library tests: test_shader_stage_resume, test_bvh_shaders_stage,
test_fspx_shaders_stage and test_make_game_resume all OK; python -m compileall -q make_game.py tools tests exit 0;
git diff --check clean; scripts/check_no_game_data.py make_game.py tests/test_shader_stage_resume.py exit 0. No game
package on this machine, so no corpus count and no shaders-stage resume run against a real work folder; no GPU run.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions