diff options
| author | KarolKurzyna <187065594+KarolKurzyna@users.noreply.github.com> | 2026-11-23 17:17:46 +0100 |
|---|---|---|
| committer | KarolKurzyna <187065594+KarolKurzyna@users.noreply.github.com> | 2026-11-23 17:17:46 +0100 |
| commit | 50aef11b5414db423465c87c24f0b02255996b75 (patch) | |
| tree | 712ffb53782115a55653379aa1445bb0d807d6e0 /runtime/src/thread_stacks.cpp | |
| parent | 8575d36edc479218972497a7bded8651a42856c0 (diff) | |
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.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions