Commit Graph

12 Commits

Author SHA1 Message Date
fcedc33eb0 tools/spirv_stubs.py: preflight stub targets and harden CLI parsing 2026-11-26 20:28:02 +08:00
72bf7aeef4 spirv_stubs: read the shader index as utf-8-sig, so a Windows BOM is not a JSON error (EGEN-SPIRVSTUBS-BOM) (#6331)
Squash-merged after review of PR #6331 - spirv_stubs: read the shader index as utf-8-sig, so a Windows BOM is not a JSON error (EGEN-SPIRVSTUBS-BOM)
2026-11-23 08:06:40 -06:00
f83a7c7265 Merge pull request #4175 from leather147
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:02 -05:00
18156b0418 spirv_stubs: retain inherited permissions on Windows 2026-11-23 02:53:31 +03:00
5d3f4d0435 spirv_stubs: publish each generated stub atomically 2026-11-23 02:46:20 +03:00
464394d42f spirv_stubs: validate interface location lists (BUILD-1135) 2026-11-23 01:46:12 +03:00
d1c412500f test: assert explicit errors for invalid SPIR-V locations 2026-11-22 20:22:30 +03:00
6f0f0692c3 Fix SPIR-V stub errors for invalid interface locations 2026-11-22 20:00:00 +03:00
42537d6987 classify_carve, spirv_stubs: -h/--help prints usage instead of being read as a path
Both tools parse sys.argv by hand, so --help was taken as the input folder:
classify_carve reported '--help: does not exist' (exit 2) and spirv_stubs
'missing --help/index.json' (exit 1). -h and --help now print the usage to
stdout and exit 0 without touching the file system. Tests cover both flags
on both tools and fail on the previous code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:22:32 +00:00
712ec323a9 BUILD: report a malformed spirv stubs index without a traceback 2026-11-21 23:55:20 -06:00
4344e368ec BUILD: report a malformed spirv stubs index without a traceback 2026-11-21 23:26:40 -06:00
ca801d9419 Tests: add no-GPU unit tests for SPIR-V stub generation and graphics metadata 2026-11-21 16:18:02 -03:00