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:
authorVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 14:54:56 +0100
committerVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 14:54:56 +0100
commit22888d4e65b51c94b12399076d8218e7047ffe9f (patch)
tree47fd8879fc68d79a9a3d4baafdcc378179503f51 /runtime/src/pe_loader.cpp
parent89b047cd8fab50675a43d76722a6a8a881f55dc2 (diff)
Runtime: test the shader lookup against a translated corpus
shader_library_corpus_test runs src/shader_library.h over the work folder make_game.py builds from the player's copy (LEONIDA_SHADERS=<work>/shaders/spirv, containers from <work>/shaders/dxbc or LEONIDA_SHADER_DXBC), as the D3D12 layer does with a PSO's bytecode: inflate the FSSM program, hash it and look it up under the stage the DXIL program header names. Every container must find its own index.json entry and a readable .spv, every entry must be reached, and in containers with more than one 0x0D payload no earlier payload may be the indexed program. Without LEONIDA_SHADERS it prints SKIP and exits 77 (SKIP_RETURN_CODE). On the 1.0.2.1 corpus: 26,503 containers, all resolve, 195 with more than one program. With fssm_program switched to the first payload it fails (391 failures, 26,308 of 26,503 entries reached). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions