Fails to build with Vulkan-Headers v1.3.217
Looking at vulkan-headers@ec9b96aae53e can be worked around via CFLAGS += -DVK_USE_PLATFORM_METAL_EXT
.
src/utils_gen.c:1023:79: error: use of undeclared identifier 'VkExportMetalObjectCreateInfoEXT'
case VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECT_CREATE_INFO_EXT: return sizeof(VkExportMetalObjectCreateInfoEXT);
^
src/utils_gen.c:1024:73: error: use of undeclared identifier 'VkExportMetalObjectsInfoEXT'
case VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECTS_INFO_EXT: return sizeof(VkExportMetalObjectsInfoEXT);
^
src/utils_gen.c:1025:72: error: use of undeclared identifier 'VkExportMetalDeviceInfoEXT'
case VK_STRUCTURE_TYPE_EXPORT_METAL_DEVICE_INFO_EXT: return sizeof(VkExportMetalDeviceInfoEXT);
^
src/utils_gen.c:1026:79: error: use of undeclared identifier 'VkExportMetalCommandQueueInfoEXT'
case VK_STRUCTURE_TYPE_EXPORT_METAL_COMMAND_QUEUE_INFO_EXT: return sizeof(VkExportMetalCommandQueueInfoEXT);
^
src/utils_gen.c:1027:72: error: use of undeclared identifier 'VkExportMetalBufferInfoEXT'
case VK_STRUCTURE_TYPE_EXPORT_METAL_BUFFER_INFO_EXT: return sizeof(VkExportMetalBufferInfoEXT);
^
src/utils_gen.c:1028:72: error: use of undeclared identifier 'VkImportMetalBufferInfoEXT'
case VK_STRUCTURE_TYPE_IMPORT_METAL_BUFFER_INFO_EXT: return sizeof(VkImportMetalBufferInfoEXT);
^
src/utils_gen.c:1029:73: error: use of undeclared identifier 'VkExportMetalTextureInfoEXT'
case VK_STRUCTURE_TYPE_EXPORT_METAL_TEXTURE_INFO_EXT: return sizeof(VkExportMetalTextureInfoEXT);
^
src/utils_gen.c:1030:73: error: use of undeclared identifier 'VkImportMetalTextureInfoEXT'
case VK_STRUCTURE_TYPE_IMPORT_METAL_TEXTURE_INFO_EXT: return sizeof(VkImportMetalTextureInfoEXT);
^
src/utils_gen.c:1031:78: error: use of undeclared identifier 'VkExportMetalSharedEventInfoEXT'
case VK_STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT: return sizeof(VkExportMetalSharedEventInfoEXT);
^
src/utils_gen.c:1032:78: error: use of undeclared identifier 'VkImportMetalSharedEventInfoEXT'
case VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT: return sizeof(VkImportMetalSharedEventInfoEXT);
^
10 errors generated.