make_game: the stage tool lists must name the decoder they run through (STAGE-DEP-CACHE) #604
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!604
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/stage-dep-cache-decoder-tools"
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?
Pull request successfully merged and closed
Claimed in the coordination issue as: STAGE-DEP-CACHE (issue #14, comment 7127857615). Depends on: none.
FSPX_TOOLS,LIBRARY_TOOLSandBVH_TOOLSkey the shaders / pipeline-library / 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 --disasmimportsshader_disasm.py(tools/fspx_unpack.py:205), which decodes throughrdna2_decode.py,rdna2_isa_tables.pyandmc_command.py, so an edited decoder leaves the old listings in the cache and translates them again. The library stage also carves throughshader_carve.py(tools/shader_library.py:201), which was not listed either. Adds atests/test_shader_stage_resume.pycase that fails when a module the chain imports is missing from a list, so the next link cannot be left out silently.AI-assisted (Hermes agent on behalf of @Headache3318). Tested at base
7430f59b2, Arch Linux, 8-core x86-64, python 3.14.9:python3 -I tests/test_shader_stage_resume.py,test_bvh_shaders_stage.py,test_fspx_shaders_stage.py,test_make_game_resume.pyall OK;python3 -m compileall -q make_game.py tools testsexit 0;git diff --checkclean;python3 -I scripts/check_no_game_data.py make_game.py tests/test_shader_stage_resume.pyexit 0. No GPU run (another check on this box owns the GPU) and no game package on this machine, so no corpus count and no resume run against a real built work folder.madvillain8099