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:
authorromainveurrier <romain.veurrier@gmail.com>2026-11-23 18:52:16 +0100
committerromainveurrier <romain.veurrier@gmail.com>2026-11-23 18:52:16 +0100
commit98c065ca22384048410e95a4ad09779b83c24004 (patch)
treec58cdf24f79a7148c66d356e22ecae28b91c33f2 /runtime/src/main.cpp
parent242a5dbf14a1324d6605da8268769189d5e1892c (diff)
XboxBvhBuilder shim: hold the device across the prebuild call; test the proxy path
From @KarolKurzyna's review of 242a5dbf1: - builder_device() returned the builder's device without a reference, so a destructor on another thread could release it during GetRaytracingAccelerationStructurePrebuildInfo. It now takes a reference under the lock, and the caller releases it after the call. - The test only passed an unwrapped device. It now also constructs a builder on a d3d12_xs device proxy (create_device_proxy, as D3D12XboxCreateDevice hands out) and checks that its prebuild sizes are the real device's (13 checks). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions