Fix padding

This commit is contained in:
Raphaël Bourgeat 2024-02-04 16:32:36 +01:00 committed by GitHub
parent e72defac41
commit df25b638a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -982,7 +982,7 @@ void ggml_vk_init() {
"VK_KHR_portability_enumeration",
#endif
};
vk::InstanceCreateInfo instance_create_info(vk::InstanceCreateFlags(), &app_info, layers, extensions);
vk::InstanceCreateInfo instance_create_info(vk::InstanceCreateFlags(), &app_info, layers, extensions);
#ifdef __APPLE__
instance_create_info.flags = vk::InstanceCreateFlagBits::eEnumeratePortabilityKHR;
#endif