From: Jason Ekstrand Date: Tue, 22 Mar 2016 23:17:09 +0000 (-0700) Subject: anv/device: Ignore the patch portion of the requested API version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=204d937ac2623b230260f60d2d7c5d7233d697fb;p=mesa.git anv/device: Ignore the patch portion of the requested API version Fixes dEQP-VK.api.device_init.create_instance_name_version Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94661 --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index ce2045ecf7b..622e6422c5a 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -223,7 +223,7 @@ VkResult anv_CreateInstance( } if (VK_MAKE_VERSION(1, 0, 0) > client_version || - client_version > VK_MAKE_VERSION(1, 0, 3)) { + client_version > VK_MAKE_VERSION(1, 0, 0xfff)) { return vk_errorf(VK_ERROR_INCOMPATIBLE_DRIVER, "Client requested version %d.%d.%d", VK_VERSION_MAJOR(client_version),