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.
This commit is contained in:
JiyouProt
2026-11-24 10:35:33 +01:00
parent 62c061e588
commit e4dc13b079
3 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -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")

View File

@ -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