diff options
| author | Bram <13451103+Boost9898@users.noreply.github.com> | 2026-11-24 07:57:43 +0100 |
|---|---|---|
| committer | Bram <13451103+Boost9898@users.noreply.github.com> | 2026-11-24 07:58:02 +0100 |
| commit | 4d64b64d1bdbcb82debf5db6f0492e129a4ad2d2 (patch) | |
| tree | ba1ad67955cfcb4ec8d043fb6634424dd0201171 | |
| parent | 554181222e4ea204d3a634104c7a9ae7c5204adb (diff) | |
translator deps: list rdna2_decode and rdna2_isa_tables
Since #462, tools/rdna2spirv.py imports rdna2_decode, which imports rdna2_isa_tables. Neither module was in the
three lists that track what the translator reads: LEONIDA_TRANSLATOR_DEPS (runtime/cmake/translator_deps.cmake),
TRANSLATION_SOURCES (make_game.py) and the runtime workflow's path filters. So test_cmake_translator_deps,
test_shader_stage_resume and test_runtime_paths fail on main, and an edit to the decoder neither rebuilds the GPU
test shaders, nor reruns translation, nor starts the runtime workflow.
| -rw-r--r-- | .github/workflows/runtime.yml | 4 | ||||
| -rw-r--r-- | make_game.py | 2 | ||||
| -rw-r--r-- | runtime/cmake/translator_deps.cmake | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index cafdf469f..1cd68b44f 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml | |||
| @@ -34,6 +34,8 @@ on: | |||
| 34 | - "tools/lane_masks.py" | 34 | - "tools/lane_masks.py" |
| 35 | - "tools/mc_command.py" | 35 | - "tools/mc_command.py" |
| 36 | - "tools/mesh_compute_vs.py" | 36 | - "tools/mesh_compute_vs.py" |
| 37 | - "tools/rdna2_decode.py" | ||
| 38 | - "tools/rdna2_isa_tables.py" | ||
| 37 | - "tools/rdna2spirv.py" | 39 | - "tools/rdna2spirv.py" |
| 38 | - "tools/replace_retry.py" | 40 | - "tools/replace_retry.py" |
| 39 | - "tools/report_paths.py" | 41 | - "tools/report_paths.py" |
| @@ -73,6 +75,8 @@ on: | |||
| 73 | - "tools/lane_masks.py" | 75 | - "tools/lane_masks.py" |
| 74 | - "tools/mc_command.py" | 76 | - "tools/mc_command.py" |
| 75 | - "tools/mesh_compute_vs.py" | 77 | - "tools/mesh_compute_vs.py" |
| 78 | - "tools/rdna2_decode.py" | ||
| 79 | - "tools/rdna2_isa_tables.py" | ||
| 76 | - "tools/rdna2spirv.py" | 80 | - "tools/rdna2spirv.py" |
| 77 | - "tools/replace_retry.py" | 81 | - "tools/replace_retry.py" |
| 78 | - "tools/report_paths.py" | 82 | - "tools/report_paths.py" |
diff --git a/make_game.py b/make_game.py index 83cc5fd36..b38f334ff 100644 --- a/make_game.py +++ b/make_game.py | |||
| @@ -1809,7 +1809,7 @@ def runtime_gpu_max_push_constants(): | |||
| 1809 | TRANSLATION_SOURCES = ("rdna2spirv.py", "shader_ir.py", "cfg_structure.py", "fssm_header.py", "lane_masks.py", "wave64_halves.py", | 1809 | TRANSLATION_SOURCES = ("rdna2spirv.py", "shader_ir.py", "cfg_structure.py", "fssm_header.py", "lane_masks.py", "wave64_halves.py", |
| 1810 | "wave64_emulate_opt.py", "shader_meta.py", "spirv_stubs.py", "spirv_asm.py", "spirv_asm_tables.py", | 1810 | "wave64_emulate_opt.py", "shader_meta.py", "spirv_stubs.py", "spirv_asm.py", "spirv_asm_tables.py", |
| 1811 | "spirv_opt.py", "report_paths.py", "replace_retry.py", "fssm_unpack.py", "shader_stage_manifest.py", | 1811 | "spirv_opt.py", "report_paths.py", "replace_retry.py", "fssm_unpack.py", "shader_stage_manifest.py", |
| 1812 | "gfx10_formats.json") | 1812 | "rdna2_decode.py", "rdna2_isa_tables.py", "gfx10_formats.json") |
| 1813 | 1813 | ||
| 1814 | 1814 | ||
| 1815 | def sources_digest(folder: str, names, lead: str = "") -> str: | 1815 | def sources_digest(folder: str, names, lead: str = "") -> str: |
diff --git a/runtime/cmake/translator_deps.cmake b/runtime/cmake/translator_deps.cmake index 559333bc9..93682b3f8 100644 --- a/runtime/cmake/translator_deps.cmake +++ b/runtime/cmake/translator_deps.cmake | |||
| @@ -15,6 +15,8 @@ set(LEONIDA_TRANSLATOR_DEPS | |||
| 15 | ${_leonida_repo}/tools/gfx10_formats.json | 15 | ${_leonida_repo}/tools/gfx10_formats.json |
| 16 | ${_leonida_repo}/tools/lane_masks.py | 16 | ${_leonida_repo}/tools/lane_masks.py |
| 17 | ${_leonida_repo}/tools/mc_command.py | 17 | ${_leonida_repo}/tools/mc_command.py |
| 18 | ${_leonida_repo}/tools/rdna2_decode.py | ||
| 19 | ${_leonida_repo}/tools/rdna2_isa_tables.py | ||
| 18 | ${_leonida_repo}/tools/rdna2spirv.py | 20 | ${_leonida_repo}/tools/rdna2spirv.py |
| 19 | ${_leonida_repo}/tools/replace_retry.py | 21 | ${_leonida_repo}/tools/replace_retry.py |
| 20 | ${_leonida_repo}/tools/report_paths.py | 22 | ${_leonida_repo}/tools/report_paths.py |