diff options
| author | Mykolas009 <171140154+Mykolas009@users.noreply.github.com> | 2026-11-25 00:23:29 +0200 |
|---|---|---|
| committer | reviewer <review@local> | 2026-11-29 20:21:29 +0200 |
| commit | 98b219eb285d510174a6a927cdd5a64037dd5c7e (patch) | |
| tree | 1e5fd05aece686b8c0ff3f3e635ea9ea3263be7f /tests/test_run_gpu_tests_python_assembler.py | |
| parent | 4364a4fa61f6bc42eefc94452c3a565fc530dd34 (diff) | |
make_game: a saved translated index that names a shader not carved here is translated again (BUILD-SHADER-RESUME-IDENTITY)
verify_translation_completeness compares only the number of entries, so on a
resumed shader stage an index left by other inputs with as many entries as the
carve passed for this folder's finished translation and no step ran.
A shader keeps its carved file's stem through unpacking, disassembly and
translation, so the stage now compares the index's names with the carve's: on
resume a stranger drops the index and its shard plan and translates again, and
after a translation a stranger fails the stage and removes the index and its
shard plan, so that a later run of the pipelines stage alone does not take the
index as finished and the next run of this stage does not merge the same parts
again. The names are checked before the counts. The disk-space check no longer
counts such a folder as reusable.
The index is read with read_translation_index and the carve with shader_stems,
as the other steps read them (a UTF-8 BOM included).
The fixture in test_make_game_empty_translation.py named its carved shader
"shader" and its translated one "shader_0"; it now uses one name.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions