LEONIDA_BVH_RECORD62=1 now prints the module of each CreateComputePipelineState
call (the file name in the container's ILDN part) and says when a creation passes
a container byte-identical to an earlier one. The constructor makes 53 creations
over 52 containers; the repeat is GetBVHCompactedSize (5,284 bytes = 0x14a4):
creations #47 and #53. The test prints a summary and checks that the repeated
container names the same module both times.
docs/embedded_shaders.md answers the open question and lists the creation order.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
clang-cl 19 and 20 crash (exit 139, in recoverAddrOfEscapedLocal) on the
__except filters of fsr_dispatch_test.cpp and bvh_builder_test.cpp: each
guard's `Call c` is also its named return value, and the filter writes it.
That stops the cross-build of runtime/cmake/clang-cl-xwin.cmake before the
rest of the tests. Return a copy instead, so `c` stays an ordinary local.
Behaviour is unchanged; both tests still skip without a package.
RT-54 switched to WARP only on NVIDIA (PCI vendor 0x10DE). AMD faults the same way: on an RX 7900 XTX the
XboxBvhBuilder constructor ends with 0xC0000005 right after the first slot 62 call (found by
@ThatZaliaSGuy, #166). The test now uses WARP whenever there is a hardware adapter, prints the vendor id it
skipped, and LEONIDA_BVH_HARDWARE=1 still keeps the hardware device. docs/d3d12_vulkan.md updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The package's 53 compute shaders are Xbox DXIL (target triple dxil-ms-xb2,
xbox.compiler.options metadata; dxil.dll rejects all 53). NVIDIA's DXIL reader
rejects the 49th, the only one with a resource in a function signature, and
either returns E_OUTOFMEMORY or aborts the process inside nvwgf2umx.dll.
The proxy forwards the bytecode unchanged, so the fix is in the test: an NVIDIA
adapter switches to WARP unless LEONIDA_BVH_HARDWARE=1. LEONIDA_BVH_RECORD62
now prints each container's shape before the call, and LEONIDA_BVH_DXIL=1 adds
dx.op counts and masked validator error kinds (names and counts only).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The proxy answers ID3D12Device11 with a QueryInterface on the host device. The Windows 10 runtime without the Agility SDK stops before ID3D12Device11, on hardware and WARP alike, so the test failed on every Windows 10 machine with a game copy before the DLL made a call. It now prints SKIP with the reason there, as root_sig does since #597; LEONIDA_BVH_DEVICE=vulkan still runs.