diff options
author | Jason Ekstrand <[email protected]> | 2016-01-27 21:56:23 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-01-27 21:56:46 -0800 |
commit | c64bc5463d840e46a022e9fd77a47be78a1933ef (patch) | |
tree | bcf7685f68eeb63327d84446ec5d93ac8f09f6aa | |
parent | 4604b2871a165e63be2764c1dc0102998e2c4a93 (diff) |
anv/device: Improve the api version check to allow 1.0.X
-rw-r--r-- | src/vulkan/anv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index adf33a84cf4..66105f0a83d 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -214,7 +214,7 @@ VkResult anv_CreateInstance( assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO); - if (pCreateInfo->pApplicationInfo->apiVersion != VK_MAKE_VERSION(1, 0, 0)) + if (pCreateInfo->pApplicationInfo->apiVersion > VK_MAKE_VERSION(1, 0, 0xfff)) return vk_error(VK_ERROR_INCOMPATIBLE_DRIVER); for (uint32_t i = 0; i < pCreateInfo->enabledExtensionCount; i++) { |