bench_wave64: report a skipped shader build before benchmarking (OLD-9938) #1054

Merged
leonida/mandy
TanmaySatyam merged 1 commit from fix/old-9938-bench-wave64-skip into main 2026-11-24 22:19:50 +00:00

Pull request successfully merged and closed

TanmaySatyam commented 2026-11-24 17:23:07 +00:00

Summary

Claims and carries OLD-9938 (Draft PR #205, old-pr/9938 authored by @AGInformatique81, original authorship preserved cleanly onto main):

  • Updates scripts/bench_wave64.py (uild()) to check whether the expected /spirv/.spv artifact was produced and exit cleanly with the builder's reason when a shader fixture is skipped instead of continuing into the benchmark with a missing file/traceback.
  • Adds est_skipped_shader_reports_builder_reason_without_a_traceback in ests/test_bench_wave64.py covering both native and --emulated-only modes.

Verification

  • Unit & policy tests (Windows 11, Python 3.12, NVIDIA GeForce RTX 5070 host; no GPU required for this test):
    • python -I tests/test_bench_wave64.py -> 15/15 OK (0.329 s)
    • python -I tests/test_text_write_line_endings.py -> 3/3 OK
    • python -m compileall -q scripts/bench_wave64.py tests/test_bench_wave64.py -> exit
### Summary Claims and carries **OLD-9938** (Draft PR #205, old-pr/9938 authored by @AGInformatique81, original authorship preserved cleanly onto main): - Updates scripts/bench_wave64.py (uild()) to check whether the expected <out>/spirv/<name>.spv artifact was produced and exit cleanly with the builder's reason when a shader fixture is skipped instead of continuing into the benchmark with a missing file/traceback. - Adds est_skipped_shader_reports_builder_reason_without_a_traceback in ests/test_bench_wave64.py covering both native and --emulated-only modes. ### Verification - **Unit & policy tests (Windows 11, Python 3.12, NVIDIA GeForce RTX 5070 host; no GPU required for this test):** - python -I tests/test_bench_wave64.py -> 15/15 OK (0.329 s) - python -I tests/test_text_write_line_endings.py -> 3/3 OK - python -m compileall -q scripts/bench_wave64.py tests/test_bench_wave64.py -> exit
KernelSmoker approved these changes 2026-11-24 17:30:03 +00:00
KernelSmoker left a comment

Verified on exact head bdfb03cfd1f152f6c83b8e2fd41046b1c8b59dc9 (base 32950551e83760c6ccf1564cd22737dfe4852d78). tests/test_bench_wave64.py passes 15/15 on Linux, including the missing ms_tri fixture in native and emulated-only modes; line-ending tests pass 3/3. Changed-file no-game-data and diff checks pass; merge-tree onto current main is clean. The regression verifies the builder reason is shown without a traceback. No GPU run is needed or claimed.

Verified on exact head bdfb03cfd1f152f6c83b8e2fd41046b1c8b59dc9 (base 32950551e83760c6ccf1564cd22737dfe4852d78). `tests/test_bench_wave64.py` passes 15/15 on Linux, including the missing `ms_tri` fixture in native and emulated-only modes; line-ending tests pass 3/3. Changed-file no-game-data and diff checks pass; merge-tree onto current main is clean. The regression verifies the builder reason is shown without a traceback. No GPU run is needed or claimed.
QemmHD commented 2026-11-24 22:19:47 +00:00

Merging.

Why merged: OLD-9938: bench_wave64 says which shader build was skipped instead of failing later with a less useful error. KernelSmoker checked it.

Why it's good: test_bench_wave64: 15/15.

Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 4a50cafc7. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 573 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new subprocesses, new env vars or CI changes.

AI-assisted (Claude Code, Claude Opus 5.5).

Merging. **Why merged:** OLD-9938: bench_wave64 says which shader build was skipped instead of failing later with a less useful error. KernelSmoker checked it. **Why it's good:** test_bench_wave64: 15/15. Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 4a50cafc7. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 573 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new subprocesses, new env vars or CI changes. AI-assisted (Claude Code, Claude Opus 5.5).
Sign in to join this conversation.
No description provided.