upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 07:26:36 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 07:26:36 -0500
commit296508e19d65f18209c3cc78d2a6cbcaaf12949a (patch)
tree1ae52ce66d2f6c009debd64d79818ea8c84fdbea /runtime/src/main.cpp
parent186b20e462c65f2dc61cd9fb8b373efec1aab9b4 (diff)
d3d12_indirect_rt: check arena AS addresses, also on a driver whose address is not buffer address + offset
Every AS resource's GPU VA must be the driver's vkGetAccelerationStructureDeviceAddressKHR value for the structure behind it; the test checks that for the BLAS and both TLAS resources. Envyre's review of old upstream PR 8414: the branch that takes the driver's address when it differs only ran on such a driver. The test creates a second device whose get_instance_proc hands out a vkGetAccelerationStructureDeviceAddressKHR that answers the real address plus 256 MiB (the device's existing function-lookup hook, no change to the runtime), creates one AS resource on it and checks that its GPU VA is the driver's address, that the arena address still names the structure, and that releasing the resource forgets both. No builds run on that device. The checks sit right after the TLAS lookups, before the CLONE/COMPACT section main has added since. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions