upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorMoonEyes <14891700+MoonEyes@users.noreply.github.com>2026-11-26 08:59:43 +0100
committerMoonEyes <14891700+MoonEyes@users.noreply.github.com>2026-11-26 09:05:37 +0100
commitd41d6a16bb2c0831ccfd7ab1f097fce03d97b033 (patch)
tree2e17998af35551ba94a1beb1c9dd13c355c41645 /tests/test_run_gpu_tests_python_assembler.py
parenta73a57e1339be072baf5522351c8ec7f1482b56b (diff)
tools: chain_check.py, one page of counts for the whole shader chain (TOOL-CHAIN-CHECK)
The links between the game files and the GPU fail quietly: an llvm-mc whose gfx1013 decoder rejects words leaves pipeline library programs untranslated, a translation from older translator sources keeps loading after the module contract changed, and the runtime's slot-67 refusals sit in a large log. tools/chain_check.py reads a make_game.py work folder (and optionally one run's log) and prints one block per link with OK/WARN/FAIL and the most likely cause: llvm-mc and spirv-val versions and the translator digest against this checkout; unpacked, listed and translated programs per family with up to 5 refusal reasons; tagged/plain modules and runtime folders; loaded modules, failed slot and D3D12 calls, builds, gate waits, faults and the exit code. The last line names the weakest link. Counts and fixed words only: refusal reasons are matched against the messages rdna2spirv.py raises, anything else counts as "other", and paths appear only with --show-paths. Exit 0 by default, 1 with --strict on FAIL. Standard library only; documented in docs/dev-tools.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions