Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.2
-
None
-
-
7fbc741d10 (qt/qtbase/dev) 7fbc741d10 (qt/tqtc-qtbase/dev) f90107341c (qt/qtbase/6.4) f90107341c (qt/tqtc-qtbase/6.4)
Description
MoltenVK supports Vulkan Portability extension, so the create method in QVulkanInstance will fail with error:
ERROR: vkCreateInstance: Found drivers that contain devices which support the portability subset, but the portability enumeration bit was not set!. Applications that wish to enumerate portability drivers must set the VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR bit in the VkInstanceCreateInfo flags and enable the VK_KHR_portability_enumeration instance extension. ERROR: vkCreateInstance: Found no drivers! Failed to create Vulkan instance: -9 Failed to create platform Vulkan instance Failed to create Vulkan instance: -9 Abort trap: 6
MRE is in attachment.
MoltenVK_icd.json:
{ "file_format_version" : "1.0.0", "ICD": { "library_path": "../../../lib/libMoltenVK.dylib", "api_version" : "1.1.0", "is_portability_driver" : true } }
Attachments
For Gerrit Dashboard: QTBUG-106912 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
435028,1 | vulkan: Re-enable VK_KHR_portability drivers | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |