diff options
| author | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 03:41:32 -0600 |
|---|---|---|
| committer | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 03:56:52 -0600 |
| commit | 7489bc8ddce798d5f12bacc8a8111a36de5f6118 (patch) | |
| tree | eed3c08ba77d94a2d4bc69bac310c18259e25618 /runtime/src/thread_stacks.cpp | |
| parent | e7584c5207e44ed51472e6aa05c781f39ea975f6 (diff) | |
mesh_compute_vs: name the missing SPIR-V tool instead of a FileNotFoundError
build_for_index ran spirv-as/spirv-val straight through subprocess, so a PATH
without them gave "the system cannot find the file specified" with no tool name,
and a shader the assembler rejects raised RuntimeError out of main() as a
traceback. Resolve both tools up front with shutil.which, and have main() report
a build or write failure as one ERROR line, with a wrong argument count a usage
error (exit 2) instead of the whole docstring with exit 1.
Also adds tests/test_mesh_compute_vs.py: the vertex shader assembles and
validates across layouts through build_for_index, the interface follows the
mesh shader's locations, and the three CLI error paths.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions