Mesa (main): dzn: Support Vulkan loader interface v5

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 1 15:10:07 UTC 2022


Module: Mesa
Branch: main
Commit: 31fab141df317848760ff00ae16fd691e4fd1c5f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31fab141df317848760ff00ae16fd691e4fd1c5f

Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Thu Jun 30 12:06:05 2022 -0700

dzn: Support Vulkan loader interface v5

Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17321>

---

 src/microsoft/vulkan/dzn_device.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c
index 33b6b595a3a..303a472298c 100644
--- a/src/microsoft/vulkan/dzn_device.c
+++ b/src/microsoft/vulkan/dzn_device.c
@@ -1357,8 +1357,14 @@ vk_icdNegotiateLoaderICDInterfaceVersion(uint32_t *pSupportedVersion)
     *
     *    - 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;
 }
 



More information about the mesa-commit mailing list