On Windows 10 22H2 (10.0.19045, no Agility SDK), with LEONIDA_GAME_DIR set to my own 1.0.2.1 copy, bvh_builder is the only ctest failure on main c432cdc: 26 of 27 pass, and root_sig and root_signature_oracle pass with their Windows 10 skips from #597. RTX 4080, driver 621.01.
bvh_builder_test | Result |
|---|---|
| default (PC device, RTX 4080) | FAIL Xbox-ABI device proxy created as ID3D12Device11 (0x80004002) |
LEONIDA_BVH_WARP=1 (Microsoft Basic Render Driver) | the same 0x80004002 |
LEONIDA_BVH_DEVICE=vulkan | proxy created; the constructor's first device call (slot 16) logs unimplemented ID3D12Device::CreateRootSignature, the DLL reports Unexpected internal Failure: pDevice->CreateRootSignature(...), and the constructor throws after 0 ms |
LEONIDA_BVH_DEVICE=vulkan + LEONIDA_BVH_FLAG=1 | the same |
Cause of the first two rows: create_device_proxy answers the requested IID with a QueryInterface on the host device, and the Windows 10 runtime has no ID3D12Device11 (it needs the Agility SDK or Windows 11), on hardware and WARP alike. So the test fails on every Windows 10 machine with a game copy, before the DLL makes a call. It's the same kind of limit as #528.
Suggested:
- Test: skip with a reason when the host device has no
ID3D12Device11, asroot_sigdoes since #597;LEONIDA_BVH_DEVICE=vulkanstill runs. I'll take this one (claiming in #634). - Vulkan device:
CreateRootSignatureis the builder's first call (A.2 indocs/d3d12_vulkan.mdcounts 17 root signatures and 53 compute PSOs on WARP). D3D-3 (#291) adds root signatures, soLEONIDA_BVH_DEVICE=vulkanis a real-DLL check for it; I'll run it on #291. - Hypothesis, not measured (the executable isn't in my copy):
D3D12XboxCreateDevice(runtime/shims/d3d12_xs.cpp) wraps the host device by default. If the game asks it forID3D12Device11too, the default backend would fail the same way on Windows 10, and onlyLEONIDA_D3D12=vulkanwould get past it.
Counts and one-line symptoms only; nothing from the DLL beyond what the test prints. AI-assisted (Claude Code in OpenCode): it ran these on this machine.
Activity
0No activity yet.