With the proper version checking in the common vulkan instance code
(commit 88b9b68) it is now possible to bring the reported interface
version up to v5.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14563>
*
* - Loader interface v4 differs from v3 in:
* - The ICD must implement vk_icdGetPhysicalDeviceProcAddr().
+ *
+ * - Loader interface v5 differs from v4 in:
+ * - The ICD must support Vulkan API version 1.1 and must not return
+ * VK_ERROR_INCOMPATIBLE_DRIVER from vkCreateInstance() unless a
+ * Vulkan Loader with interface v4 or smaller is being used and the
+ * application provides an API version that is greater than 1.0.
*/
- *pSupportedVersion = MIN2(*pSupportedVersion, 4u);
+ *pSupportedVersion = MIN2(*pSupportedVersion, 5u);
return VK_SUCCESS;
}