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:
authorttd0x <359563285+ttd0x@users.noreply.github.com>2026-11-21 18:20:36 +0200
committerttd0x <359563285+ttd0x@users.noreply.github.com>2026-11-21 18:27:51 +0200
commit695ae01d21d9820e7cf28a6bd2d90f626061af9d (patch)
tree6bb63170eec212ef43b3be367498101bb80b4038 /runtime/src/pe_loader.cpp
parent56f023a10a726da20702d4e121656ceda2391d93 (diff)
tests: value-level regression tests for RDNA2 -> SPIR-V pixel shaders
Add tests/semantic: translate two hand-written, branch-free pixel shaders (ps_sdwa, ps_ops) and execute the resulting SPIR-V with a small strict interpreter, asserting every mrt0 word against hand-derived expectations. Catches wrong-value regressions (SDWA selects/sext, min3/max3, bfe_i32, packed f16 FMA) that spirv-val cannot. - Standard library only; no LLVM, SPIRV-Tools, GPU or game files. - Interpreter rejects unmodelled constructs instead of approximating. - Negative controls sabotage translated output; mutation tests sabotage a temporary copy of tools/ and require the matching test to fail. - Fixtures are generated from runtime/test/shaders/*.asm. - CI job semantic-tests (Windows + Ubuntu, Python 3.12), discovery limited to tests/semantic.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions