upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorLucy <35628281+Amzi-01@users.noreply.github.com>2026-11-22 06:27:25 +0000
committerLucy <35628281+Amzi-01@users.noreply.github.com>2026-11-22 06:27:25 +0000
commit494f8f985f8d786a7cef20bdd83f2f86f71cf68e (patch)
tree0205d134874b4519633cab6d95457ba1ae7e2c12 /runtime/test/gameinput_test.cpp
parent43d470316ec6cbcd64002bc3792998d9f5745dac (diff)
vertex_types.py: sample 256 triangles per block for the slow tests
The face-normal (22 decodings x every triangle vertex) and UV mapping tests made a full-corpus run take days (packs.rpf alone ran for hours). They now use a fixed sample of up to 256 triangles per block from the tool's seeded rng, so a rerun gives the same counts; the edge-wrap, per-byte and position counts stay exhaustive. data.rpf: 546 s -> 179 s. Same 1,857 blocks; edge-jump counts identical; s16 mapping spread median 0.105 -> 0.106; face-normal medians within 0.002 (0x21 unorm10_xyz 0.513 both). AI-assisted (Claude). Tested: python -I tests/test_vertex_types.py (10 pass), data.rpf before/after on my own copy; no GPU involved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions