Commit Graph

2 Commits

Author SHA1 Message Date
50aef11b54 d3d12_dxr_validation_test: probe acceleration structures before AS buffer allocation
Leonida reports OPTIONS5.RaytracingTier == NOT_SUPPORTED even when XDXR or KHR
acceleration structures are active, so run_suite() had a skip path (exit 77)
when GetRaytracingAccelerationStructurePrebuildInfo returned zero. However,
make_buffer() allocated RAYTRACING_ACCELERATION_STRUCTURE buffers earlier in
run_suite(), which CreateCommittedResource refuses when neither backend is
available (such as d3d12_dxr_validation_khr with LEONIDA_RT_AS=khr on a GPU
without VK_KHR_acceleration_structure). That made the skip path unreachable
and turned a non-RT GPU skip into exit 1.

Move the minimal BLAS PrebuildInfo probe ahead of synthetic buffer allocation
so non-RT GPUs cleanly exit 77 in d3d12_dxr_validation_khr while XDXR and
RT-capable KHR runs remain unchanged.
2026-11-23 17:17:46 +01:00
2c72b0d281 d3d12: validate DXR acceleration-structure prebuild and recording inputs (#6825)
Squash-merged after diff review of PR #6825 - d3d12: validate DXR acceleration-structure prebuild and recording inputs
2026-11-23 09:49:28 -06:00