tests: the BVH shader-stage fixture writes the FSPX key the step checks for #5
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!5
Loading…
Reference in a new issue
No description provided.
Delete branch "test-bvh-fspx-cache-key"
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: none — the original project's coordination issue was lost with its repository, and this repository has no such issue yet. This fixes the red
tests/test_bvh_shaders_stage.pyonmain; no other open pull request touches it.Depends on: none.
What and why
make_game.fspx_cache_completeonly accepts an FSPX translation index whose compute row carriesfspx_code_sha256(added by32c010551), the key the runtime looks the program up by. The fakerdna2spirv.pyintests/test_bvh_shaders_stage.pystill wrote a row with just"stage": "cs", soshaders()treated the FSPX cache as incomplete and ranfspx_unpack.py+rdna2spirv.pyagain on every call. The test's secondstage()assertion then failed:The fake now writes the key, as the real translator does (
tests/test_fspx_shaders_stage.py:167). One test file, one row of the fake's index; no tool code changes.Tested
main@30daa6958, macOS 15 arm64 (Apple M3 Pro), CPython 3.15.2, CPU only, no game files:tests/test_bvh_shaders_stage.pymain@30daa6958FAILED (failures=1)— the diff aboveRan 13 tests ... OKAlso
python -I tests/test_fspx_shaders_stage.py→ 23 tests OK,python -m compileall -q make_game.py tools testsclean,python -I scripts/check_no_game_data.py tests/test_bvh_shaders_stage.pyclean.Not run: Windows, any GPU test, the translator suite (no translator code). The assertion is platform-neutral.
AI-assisted: yes.
Checklist
docs/design.md, with how it was confirmed. (Not applicable: no translator change.)