upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/allocator_proxy_test.cpp
AgeCommit message (Collapse)Author
11 daysd3d12_xs: handle ID3D12CommandAllocator slot 9 (SetAllocatorCallbackX) on ↵DevilNine
allocator proxy (cherry picked from commit e29e9899809347a730fd57a14532a22fe0ee7231)
12 daysallocator_proxy, queue_proxy tests: take the guard fault's code in the ↵Geremy Cambus
filter (#6864) Squash-merged after diff review of PR #6864 - allocator_proxy, queue_proxy tests: take the guard fault's code in the filter (Wine 9)
13 daysRuntime: Xbox-ABI proxy for the command allocator (device slot 9)AimLogin
Device slot 9 (CreateCommandAllocator) now returns an allocator proxy, the fourth command object after the queue and fence (BUILD-231) and the list (D3D-136): the public chain (9 slots, Reset at 8) is forwarded, a slot past it up to the end of a 64-slot table is logged and refused with E_NOTIMPL, and a read past the table faults in its own guard region. The console allocator's extra methods are not measured and not guessed. A list takes the title's allocator in CreateCommandList and Reset, so a proxy is only safe where the list side resolves it. Slot 9 therefore wraps an allocator only when it answers kLeonidaCommandAllocatorTag (the Vulkan layer's CommandAllocator, whose from() resolves the proxy for both calls); a PC runtime allocator is handed out unchanged, logged once, until a command-list proxy unwraps it at Reset. Allocator proxies are unwrapped in the residency calls like heap, queue and fence proxies. Device slot 12 is not touched. Tests: allocator_proxy_test (WARP, a hardware adapter, the Vulkan device: forwarding, refused tail, guard region, identity, D3D12's allocator rules, a list created and Reset on the proxy with GPU copies through the queue and fence proxies read back), mock cases for allocators with and without the tag and their failure paths, and device_proxy_test's slot-9 expectations. No game files. AI-assisted (Claude Code). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>