Two leftovers from the console-ABI review round:
- PC GetDesc shares console slot 18 with the newer layout's
GetTimestampFrequency; the proxy deliberately serves the frequency
getter while the layout is undetected, so the GLOBAL_REALTIME
priority check reads the desc on the real queue instead of trusting
an 8-byte frequency written into a desc-shaped out-buffer.
- shaders_into() accepted any two files named vs.spv/ps.spv when
spirv-as was absent; a stray file would reach vk_harness and fail
far from the cause. The prebuilt pair is now checked against the
SPIR-V magic first.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The doc already promised the no-SDK path — drop the pair --emit-only
produced on another machine into the work directory — but main() called
assemble() unconditionally, so a machine without spirv-as exited before
the prebuilt files could be used. shaders_into() now reuses an existing
pair only when spirv-as is absent; fresh assembly always wins when it is
on PATH, so a stale pair cannot shadow the sources. shdann's report on
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The #1406 guard every tool's __main__ block carries: under python -I a
redirected stdout uses the console code page, and a path with characters
outside it must not end the run in UnicodeEncodeError.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The package-free complement to first_light: hand-written SPIR-V
assembly (no GLSL compiler, spirv-as only), a generated VKH_DRAW_MESH
quad, RGBA32F readback to PPM and a zlib-only PNG, and a --check oracle
(coverage + 7 probe pixels against the pattern's closed form) exercised
by tests/test_hello_pixels.py without a GPU. Measured end to end on
Mesa llvmpipe 20.1.2 at 512x512.
Assisted-by: Devin