summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-03-22 16:17:09 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-03-22 16:20:45 -0700
commit204d937ac2623b230260f60d2d7c5d7233d697fb (patch)
tree242c885059a8f00ba66c6f23edc73fcacb39e19e /src/intel/vulkan
parent4844723405d901afee3ab6a4a6c642ae8ef8bcb4 (diff)
downloadexternal_mesa3d-204d937ac2623b230260f60d2d7c5d7233d697fb.zip
external_mesa3d-204d937ac2623b230260f60d2d7c5d7233d697fb.tar.gz
external_mesa3d-204d937ac2623b230260f60d2d7c5d7233d697fb.tar.bz2
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
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index ce2045e..622e642 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),