upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorthibaut <thibaut-leaux-angeli@live.fr>2026-11-23 16:33:40 +0100
committerthibaut <thibaut-leaux-angeli@live.fr>2026-11-23 16:33:40 +0100
commit4eeb61b301595efecce43454b94a00f4290e2d11 (patch)
tree051a47efe86fa95e75b62cb3bc4c801a799df85f /runtime/src/pe_loader.cpp
parent1cc6e3c121969761d9dad8fdec99f19928213973 (diff)
d3d12: OpenExistingHeapFromAddress backs a heap with the caller's memory (VK_EXT_external_memory_host)
The retail executable opens the 64 KiB graphics region it has just committed with XMemVirtualAlloc through device slot 48 right after its first queue and fence; the layer answered E_NOTIMPL and the title asserted. The call now answers as the host runtime does on an RTX 4090 and WARP (six cases measured in d3d12_existing_heap_test): the base of a VirtualAlloc allocation committed read-write over its whole size opens a heap of that size, 64 KiB aligned, CUSTOM / WRITE_BACK / L0, SHARED | SHARED_CROSS_ADAPTER | ALLOW_SHADER_ATOMICS; an inner address, a partial or reserve-only commit and a read-only range are E_INVALIDARG. The backing is the range itself, imported with VK_EXT_external_memory_host, which the device and the test device enable when present. CheckFeatureSupport(EXISTING_HEAPS) follows the extension. Placed resources in such a heap are refused (E_NOTIMPL, logged) until the placed path addresses memory outside the arena. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions