mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:15:52 +01:00
[PR #211] test_bvh_shaders_stage: give the fake FSPX translation its fspx_code_sha256 #263
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#263
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/211
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9946📝 Commits (1)
b3dec3atest_bvh_shaders_stage: give the fake FSPX translation its fspx_code_sha256📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
tests/test_bvh_shaders_stage.py(+1 -1)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claimed in the coordination issue as: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116875154 (test fix, no ID assigned)
Depends on: none.
What and why
cc495ee43("Rebuild an FSPX cache without a compute lookup key") mademake_game.fspx_cache_completerequire at least onestage == "cs"entry carrying a 64-hexfspx_code_sha256, and updated the fake translator intests/test_fspx_shaders_stage.pyto match.tests/test_bvh_shaders_stage.pymodels the FSPX index separately, in its own fakerdna2spirv.py, and still wrote{"Upscale": {"stage": "cs"}}with no key. The FSPX step therefore never counts as cached, and the secondstage()call rerunsfspx_unpack.pyandrdna2spirv.py, sotest_the_builder_runs_after_fspx_and_alone_when_only_its_dll_changesfails onmain("Lists differ: ['fspx_unpack.py', 'rdna2spirv.py'] != []").The fake now writes
{"stage": "cs", "fspx_code_sha256": "e" * 64}for the FSPX program, as the other file's fake does. Test only; no production change. The builder (BVH) entry is untouched.Tested
Windows 11 (10.0.26300), CPython 3.15.2, no GPU or game files, on
maind083a2cc3:maintests/test_bvh_shaders_stage.pytests/test_fspx_shaders_stage.pytests/test_shader_stage_resume.pyAI-assisted: yes (Claude Code, Claude Sonnet 5.5).
Checklist
docs/design.md, with how it was confirmed. (n/a: test only)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.