summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-22 16:17:09 -0700
committerJason Ekstrand <[email protected]>2016-03-22 16:20:45 -0700
commit204d937ac2623b230260f60d2d7c5d7233d697fb (patch)
tree242c885059a8f00ba66c6f23edc73fcacb39e19e /src
parent4844723405d901afee3ab6a4a6c642ae8ef8bcb4 (diff)
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')
-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 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),