upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorEmma <47298336+zzEmmazz@users.noreply.github.com>2026-11-22 22:45:00 +0200
committerEmma <47298336+zzEmmazz@users.noreply.github.com>2026-11-22 22:45:00 +0200
commit35fe778eb61071d8dbe5f82f9347ee303f7c212e (patch)
treedd6dea57f2e122bccdbbb1280289673b22f2eae6 /runtime/src/pe_loader.cpp
parentf847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff)
first_light.py: start each run with empty first_light/dxbc and first_light/spirv
The tool staged the chosen VS and PS containers in <work>/first_light/dxbc and had them translated into <work>/first_light/spirv, and emptied neither. fssm_unpack.py, shader_disasm.py and rdna2spirv.py take every file in the folder they are given, so a second run with another shader translated the first run's container again: "3 shaders: 2 translated" for a pair, the extra one with "stage ?", and its files stayed beside this run's. reset_run_folders() removes both folders at the start of translate() and creates an empty dxbc. first_light/out, another --out and <work>/shaders are not touched. A folder that is a symlink or a junction, or sits behind a linked first_light, is refused before anything is removed; a link inside is unlinked without being entered; a file that cannot be removed ends the run with one line naming it. tests/test_first_light.py: RunFolderTests runs the tool twice in one synthetic work folder, with stand-ins for the three tools that take every file like the real ones. docs/first_light.md says the two folders are per-run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions