Commit Graph

9 Commits

Author SHA1 Message Date
faa57e52ad bvh_builder_test: use WARP on every hardware vendor by default (RT-89)
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>
2026-11-22 11:36:34 +00:00
39d5d0e60d RT-54: bvh_builder_test uses WARP on NVIDIA; record the builder's shader shapes
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>
2026-11-22 06:48:55 +00:00
3dce6425c7 bvh_builder_test: skip with a reason when the host D3D12 device has no ID3D12Device11 (#688)
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.
2026-11-21 21:19:16 -05:00
6416481c7b fsr/bvh tests and A.2/A.3: unwind is #176's (or the test's), #93 is TLS only; FSR host imports are 82 on current main
AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:58:24 +01:00
fb0d52c60c fsr/bvh tests: read the module TLS index from either loader (#95's tls_slot or #93's tls_index)
AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:58:24 +01:00
ba62e9ec9f bvh_builder_test: LEONIDA_BVH_DEVICE=vulkan puts the builder on the Vulkan-backed device (#119)
AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:58:24 +01:00
1e7a6c6846 fsr/bvh tests: run on main's loader (#95): Loader::initialise, unwind registered here until #93; FSR checks its TLS block
AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:58:24 +01:00
7b28e72909 bvh_builder_test: record slot 62 per call, decode thrown HRESULTs; measured results in d3d12_vulkan.md A.2
AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:58:24 +01:00
0feffed584 WIP: bvh_builder_test (local, measuring the constructor) 2026-11-22 00:58:24 +01:00