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:
authorbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-22 06:44:57 -0600
committerbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-22 06:44:57 -0600
commitd92a395e101006baf055c5f0c5947d37958b5021 (patch)
treef81c1ea7cb04d4477c67691d18b80d5c9a5780af /runtime/src/pe_loader.cpp
parent99f99890c5ebe186ef2f9fe8ff6d675745d9e621 (diff)
feature_scan: refuse a --out inside the shader corpus it reads
`feature_scan.py <shaders> --out <shaders>/dxbc/index.json` wrote the report over the corpus index and printed the counts with exit 0, so the next run of the same command failed with "is not a shader list" and the shaders stage of make_game.py had to be run again. A scanned .dxbc, a listing in dxbc/disasm and the spirv/index.json the scan reads had the same problem. --out is now checked against those inputs before anything is read: one line and exit 2 naming the path, and nothing is written. Report paths outside the shader folders are unchanged, including the missing-folder creation. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions