Commit Graph

17 Commits

Author SHA1 Message Date
c14daecc6b Report GPU test workspace creation errors 2026-11-23 03:16:12 +01:00
da3ebde8ca test: decouple clipping tests from NaN-sensitive fragment output 2026-11-22 12:48:59 +02:00
6c5550d456 GPU tests: give each test program a time limit, so a GPU hang fails one test instead of stalling the suite
run_gpu_tests.py (run_cmd) and check.py (run, the mesh harness) start each GPU program with
LEONIDA_GPU_TEST_TIMEOUT seconds (default 120, 0 = no limit). A program that runs longer is
killed and its test fails with 'timed out after N s'. The translator step over the whole suite
keeps no limit. Seen on an Intel UHD 770, where cs_barrier_divergent can hang vk_compute_test.
2026-11-21 22:37:45 -05:00
9f8cac64f5 Tests: isolate shader inputs when reusing GPU test work 2026-11-22 03:46:04 +01:00
a412225fcc Tests: reject unmatched GPU test filters 2026-11-22 02:43:37 +01:00
91b36cf86c tests: follow this round's merges (#433's Python 3.12 floor in the dry-run tests, #488's 8-word dump, #421's global offset test, reworded test-program error)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 19:19:57 -05:00
7d15dab8a3 Merge pull request #343 from Andrea
# Conflicts:
#	scripts/run_gpu_tests.py
2026-11-21 19:08:36 -05:00
e66e969597 Merge pull request #193 from AREA52 Agent 2026-11-21 19:08:21 -05:00
8b58a7206d tests/docs: run_gpu_tests' draw-shader test knows #193's vs_clip variants; drop a duplicated docs row
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 18:44:31 -05:00
eb330b6864 Resolve generated clip variants through their shared assembly source 2026-11-21 15:40:46 -08:00
8d8a48985e test: make missing-program diagnostic portable 2026-11-22 00:13:55 +01:00
e9f260d22e test: cover config priority and diagnostic failures 2026-11-22 00:13:35 +01:00
efcf0310a2 test: verify runner uses detected VS config directory 2026-11-22 00:10:56 +01:00
2a06f8fc87 test: cover Visual Studio GPU test build layouts 2026-11-22 00:07:29 +01:00
4dfdbc3f0e fix: build the vertex shader for filtered cube tests
The cube harness loads vs_ids at runtime, so a standalone fragment filter needs the same draw dependency as the ordinary texture fixture.
2026-11-21 23:50:12 +01:00
7c33beedc1 tests: compare resolved paths in test_run_gpu_tests_paths (Windows spells the temp dir RUNNER~1) 2026-11-22 00:35:31 +02:00
55459fa124 run_gpu_tests: ps_texture_sample with a relative --build or a --filter
vk_texture_test runs with its working directory in <work>/spirv, so a relative --build (runtime/build) made the
tool path point there and the test failed with "missing runtime/build/vk_texture_test". --build and --work are
now made absolute after parsing. A filtered run also builds vs_ids.spv for ps_texture_sample, which
vk_texture_test loads, as #192 did for ps_flat (one table, DRAWN_WITH).
2026-11-22 00:29:12 +02:00