From 204d937ac2623b230260f60d2d7c5d7233d697fb Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 22 Mar 2016 16:17:09 -0700 Subject: [PATCH] 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 --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.30.2