mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:15:52 +01:00
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#577
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/529
Author: @Boost9898
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:fix/translator-deps-rdna2-decode📝 Commits (1)
4d64b64translator deps: list rdna2_decode and rdna2_isa_tables📊 Changes
3 files changed (+7 additions, -1 deletions)
View changed files
📝
.github/workflows/runtime.yml(+4 -0)📝
make_game.py(+1 -1)📝
runtime/cmake/translator_deps.cmake(+2 -0)📄 Description
Claimed in the coordination issue as: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124404311
What and why
Since #462 (
c93245784),tools/rdna2spirv.pyimportsrdna2_decode, which importsrdna2_isa_tables. Neither module is in the three lists that track what the translator reads. Each list has a test, so three tests fail onmain:tests/test_cmake_translator_deps.py:LEONIDA_TRANSLATOR_DEPS(runtime/cmake/translator_deps.cmake) is missing both, so an edit to the decoder doesn't rebuild the GPU test shaders (BUILD-1064).tests/test_shader_stage_resume.py:TRANSLATION_SOURCES(make_game.py) is missing both, so an edit to the decoder doesn't change the translator digest, andmake_game.pykeeps the old translation.tests/test_runtime_paths.py: thepushandpull_requestpath filters in.github/workflows/runtime.ymlare missing both, so a change to the decoder alone doesn't start the runtime workflow.This adds both modules to all three lists. Adding them to
TRANSLATION_SOURCESchanges the recorded digest, so an existing work folder translates once more after this lands, as after any other change to the translator.Tested
Apple M4, macOS 26.5.1, Python 3.14.8 and 3.12.10, CPU only, no game files.
mainc023a365aall three tests fail. With this change:test_cmake_translator_deps5 OK,test_shader_stage_resume46 OK andtest_runtime_paths5 OK, on 3.14.8 and 3.12.10. After rebasing on554181222, the same three pass again on 3.14.8.test_make_game_translator_flags(33 tests) andtest_make_game_dry_run(24 tests): OK on both versions.test_tool_stdout_encoding(tools/pr_conflict_label.py). It fails onmaintoo, and #367 fixes it.python -m compileall -q make_game.py tools tests,git diff --checkandscripts/check_no_game_data.pyon the changed files: clean.GPUs tested: n/a (no GPU tests involved)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator rule changes)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.