Contact
-
Bill Hollings billhollings
Other Extension Metadata
- Last Modified Date
-
2022-05-28
- IP Status
-
No known IP claims.
- Contributors
-
-
Bill Hollings, The Brenwill Workshop Ltd.
-
Dzmitry Malyshau, Mozilla Corp.
-
Description
In a Vulkan implementation that is layered on top of Metal on Apple device platforms, this extension provides the ability to import and export the underlying Metal objects associated with specific Vulkan objects.
As detailed in the extension proposal document, this extension adds one new Vulkan command, vkExportMetalObjectsEXT, to export underlying Metal objects from Vulkan objects, and supports importing the appropriate existing Metal objects when creating Vulkan objects of types VkDeviceMemory, VkImage, VkSemaphore, and VkEvent,
The intent is that this extension will be advertised and supported only on implementations that are layered on top of Metal on Apple device platforms.
New Structures
-
Extending VkExportMetalObjectsInfoEXT:
-
Extending VkImageCreateInfo:
-
Extending VkInstanceCreateInfo, VkMemoryAllocateInfo, VkImageCreateInfo, VkImageViewCreateInfo, VkBufferViewCreateInfo, VkSemaphoreCreateInfo, VkEventCreateInfo:
-
Extending VkMemoryAllocateInfo:
-
Extending VkSemaphoreCreateInfo, VkEventCreateInfo:
New Enum Constants
-
VK_EXT_METAL_OBJECTS_EXTENSION_NAME
-
VK_EXT_METAL_OBJECTS_SPEC_VERSION
-
Extending VkStructureType:
-
VK_STRUCTURE_TYPE_EXPORT_METAL_BUFFER_INFO_EXT
-
VK_STRUCTURE_TYPE_EXPORT_METAL_COMMAND_QUEUE_INFO_EXT
-
VK_STRUCTURE_TYPE_EXPORT_METAL_DEVICE_INFO_EXT
-
VK_STRUCTURE_TYPE_EXPORT_METAL_IO_SURFACE_INFO_EXT
-
VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECTS_INFO_EXT
-
VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECT_CREATE_INFO_EXT
-
VK_STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT
-
VK_STRUCTURE_TYPE_EXPORT_METAL_TEXTURE_INFO_EXT
-
VK_STRUCTURE_TYPE_IMPORT_METAL_BUFFER_INFO_EXT
-
VK_STRUCTURE_TYPE_IMPORT_METAL_IO_SURFACE_INFO_EXT
-
VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT
-
VK_STRUCTURE_TYPE_IMPORT_METAL_TEXTURE_INFO_EXT
-
Version History
-
Revision 1, 2022-05-28 (Bill Hollings)
-
Initial draft.
-
Incorporated feedback from review by the Vulkan Working Group. Renamed many structures, moved import/export of MTLBuffer to VkDeviceMemory, added export of MTLSharedEvent, added import of MTLSharedEvent for VkSemaphore and VkEvent, and changed used bit mask fields to individual bit fields to simplify Valid Usage rules.
-
See Also
IOSurfaceRef, MTLBuffer_id, MTLCommandQueue_id, MTLDevice_id, MTLSharedEvent_id, MTLTexture_id, VkExportMetalBufferInfoEXT, VkExportMetalCommandQueueInfoEXT, VkExportMetalDeviceInfoEXT, VkExportMetalIOSurfaceInfoEXT, VkExportMetalObjectCreateInfoEXT, VkExportMetalObjectTypeFlagBitsEXT, VkExportMetalObjectTypeFlagsEXT, VkExportMetalObjectsInfoEXT, VkExportMetalSharedEventInfoEXT, VkExportMetalTextureInfoEXT, VkImportMetalBufferInfoEXT, VkImportMetalIOSurfaceInfoEXT, VkImportMetalSharedEventInfoEXT, VkImportMetalTextureInfoEXT, vkExportMetalObjectsEXT
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.