From e4dc13b0797a0709104d8f7dcc0fda47fb55eea3 Mon Sep 17 00:00:00 2001 From: JiyouProt <104832502+JiyouProt@users.noreply.github.com> Date: Tue, 24 Nov 2026 10:35:33 +0100 Subject: [PATCH] build: declare file_mode in translator dependency lists Address review of #558: include file_mode.py in CMake shader dependencies, make_game translation source digests, and both Runtime workflow path filters. AI-assisted with Codex. --- .github/workflows/runtime.yml | 2 ++ make_game.py | 2 +- runtime/cmake/translator_deps.cmake | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index cafdf469f..a613ee053 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -25,6 +25,7 @@ on: - "tools/cfg_structure.py" - "tools/cpu_ref.py" - "tools/f32_fuzz.py" + - "tools/file_mode.py" - "tools/first_light.py" - "tools/fspx_unpack.py" - "tools/fssm_header.py" @@ -64,6 +65,7 @@ on: - "tools/cfg_structure.py" - "tools/cpu_ref.py" - "tools/f32_fuzz.py" + - "tools/file_mode.py" - "tools/first_light.py" - "tools/fspx_unpack.py" - "tools/fssm_header.py" diff --git a/make_game.py b/make_game.py index 83cc5fd36..3400c585b 100644 --- a/make_game.py +++ b/make_game.py @@ -1806,7 +1806,7 @@ def runtime_gpu_max_push_constants(): # Source and data files that produce the translated modules, metadata and partner stubs. -TRANSLATION_SOURCES = ("rdna2spirv.py", "shader_ir.py", "cfg_structure.py", "fssm_header.py", "lane_masks.py", "wave64_halves.py", +TRANSLATION_SOURCES = ("rdna2spirv.py", "shader_ir.py", "cfg_structure.py", "file_mode.py", "fssm_header.py", "lane_masks.py", "wave64_halves.py", "wave64_emulate_opt.py", "shader_meta.py", "spirv_stubs.py", "spirv_asm.py", "spirv_asm_tables.py", "spirv_opt.py", "report_paths.py", "replace_retry.py", "fssm_unpack.py", "shader_stage_manifest.py", "gfx10_formats.json") diff --git a/runtime/cmake/translator_deps.cmake b/runtime/cmake/translator_deps.cmake index 559333bc9..4f1de7ae5 100644 --- a/runtime/cmake/translator_deps.cmake +++ b/runtime/cmake/translator_deps.cmake @@ -10,6 +10,7 @@ set(LEONIDA_TRANSLATOR_DEPS ${_leonida_repo}/runtime/test/shaders/compute_fixture.py ${_leonida_repo}/tools/bary_fallback_gs.py ${_leonida_repo}/tools/cfg_structure.py + ${_leonida_repo}/tools/file_mode.py ${_leonida_repo}/tools/fssm_header.py ${_leonida_repo}/tools/fssm_unpack.py ${_leonida_repo}/tools/gfx10_formats.json