Skip to content

Exporting Memory handle  #440

@Agrael1

Description

@Agrael1

Hello, I have a use case for OpenGL/Vulkan interop for memory.

Documentation says, there is pNext equivalent for that for pools and for allocator.
However, there is no API for retrieving the handle. I could retrieve the allocation memory, but there is a problem:

VUID-VkMemoryGetWin32HandleInfoKHR-handleType-00663
If handleType is defined as an NT handle, vkGetMemoryWin32HandleKHR must be called no more than once for each valid unique combination of memory and handleType

If the allocation is shared between multiple distant resources, there is no guaranteed way to get the handle. One will always result in error. Is there a way make it work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAdding new featurenext releaseTo be done as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions