The 1.0.2.1 package has 16 DLLs and no D3D12 runtime DLL; gameos.xvd is encrypted with no plaintext D3D12 strings, and the executable that would call QueryInterface is absent. SCARAB's provenance note also says the runtime does not export ID3D12ConsComputeCommandList/6/8 or ID3D12ConsCopyCommandList6, so no export table can supply them. Correct the surface/export-contract rows and lock the negative in the checker and test. All four stay unknown until the title's QueryInterface is logged.
The docstring says the cross-check runs when SCARAB_REF points at a
checkout, but the __main__ block (how CI and CONTRIBUTING run the file,
python -I tests/test_<name>.py) never called it, so the file printed
"ok" with SCARAB_REF set to anything. Run check_scarab there when
SCARAB_REF is set, like the SDK check above it, and say when it is
skipped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
find_sdk_include() tells a WINDOWS_SDK_INCLUDE that names the um folder
from one that names the version folder by the path's basename. For
"...\um\" the basename is empty, so it looked for "...\um\um", and
--sdk skipped the check (--require-sdk failed) although the headers were
there. The path is normalized first. A synthetic test tries all four
spellings against a temporary folder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tools/awc_opus.py: wrap export_bank file read in a with-statement to
close the handle promptly instead of relying on GC (fixes ResourceWarning
seen in test output).
- tests/test_amd_swizzle.py: use raise unittest.SkipTest instead of
import pytest; pytest.skip so the test works under both python -I and
unittest discovery when numpy is absent. No pytest dependency needed.
- tests/test_d3d12_xs_surface.py: same treatment for the two conditional
skips (Windows SDK headers, SCARAB_REF). The test still skips gracefully
without pytest installed.
- .github/workflows/runtime.yml: add a linux-gpu-tools job that installs
libvulkan-dev, builds all GPU test tools with cmake + ninja + g++, and
verifies every tool binary exists. Rename the Windows job from 'build' to
'windows' to disambiguate. This catches build regressions in GPU tool code
that only manifest on Linux.
AI-assisted.
Records the 116-export contract (23 functions + 93 GUIDs), the 28 D3D12 IIDs and the 10 console-only IIDs from SCARAB, with per-item provenance and file:line references. The IID block ordinals 72-99 are derived from the alphabetical export order anchored by IID_ID3D12Debug @76. Includes a checker/test that re-verifies the 116-slot arithmetic and the 83 standard GUIDs against the Windows SDK.