dzn: Support Vulkan loader interface v5
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17321>
This commit is contained in:
parent
6a90d3832a
commit
31fab141df
|
@ -1357,8 +1357,14 @@ vk_icdNegotiateLoaderICDInterfaceVersion(uint32_t *pSupportedVersion)
|
||||||
*
|
*
|
||||||
* - Loader interface v4 differs from v3 in:
|
* - Loader interface v4 differs from v3 in:
|
||||||
* - The ICD must implement vk_icdGetPhysicalDeviceProcAddr().
|
* - 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;
|
return VK_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue