diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 07:25:51 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 07:25:51 -0500 |
| commit | 186b20e462c65f2dc61cd9fb8b373efec1aab9b4 (patch) | |
| tree | 5e74ea3be9b51cd74f638616ae751c587e1ffe9c /docs/buffer_bounds.md | |
| parent | 21625bca8c675c62f9dbffc318ce6a59d57faf31 (diff) | |
d3d12: arena AS resources take their address from vkGetAccelerationStructureDeviceAddressKHR
A default-heap acceleration-structure resource in the GPU address arena handed out buffer address + offset as its
GPU VA without asking the driver. An instance must name its BLAS by a value obtained from
vkGetAccelerationStructureDeviceAddressKHR (VUID-vkCmdBuildAccelerationStructuresKHR-pInfos-12281), and for a GENERIC
structure the spec only promises consistent offsets between structures of one buffer, not equality with the buffer
address. Query it as the committed path does; if a driver ever returns a different address, use the driver's and
keep the arena address registered too.
GPU-assisted validation only knows addresses it has seen that call return, so it reported every arena BLAS as "an
invalid acceleration structure reference" and rewrote the instance to its dummy BLAS (the ray-query miss marso006
saw). It now reports the remaining layer limitation instead: a GENERIC structure built as bottom level is "not a
bottom level acceleration structure", which the spec allows.
Restored from old upstream PR 8414, which was closed unmerged when the original repository went private.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/buffer_bounds.md')
0 files changed, 0 insertions, 0 deletions