upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/cpp_unwind_test.cpp
diff options
context:
space:
mode:
authorhaayden <58538499+haayden@users.noreply.github.com>2026-11-23 13:55:13 -0600
committerhaayden <58538499+haayden@users.noreply.github.com>2026-11-23 13:55:13 -0600
commit14d54d0d76662e12b80ff260af852d5c9c29d83d (patch)
treeca20c963546bf85caddb3cf78b5f42592aedd979 /runtime/test/cpp_unwind_test.cpp
parent867d922f09b86583859796a174df89555fb32da8 (diff)
d3d12: a placed buffer keeps its heap's arena range after the heap is released
A placed buffer is a range of its heap's arena memory, but only the heap held that range: releasing the application's last ID3D12Heap pointer freed it while placed buffers in it were still alive, so the next heap or committed buffer got the same GPU address and the arena zeroed and overwrote the live buffer. On D3D12 a placed resource holds a reference on its heap, so releasing the heap first is legal. The placed buffer now holds the heap's range (the shared allocation whose deleter returns it to the arena). New d3d12_placed_heap_lifetime test: red on main (the new heap's buffer lands on 0x10000, the live buffer's address), green with the fix. AI-assisted (Claude Code) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions