projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4604b28
)
anv/device: Improve the api version check to allow 1.0.X
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 28 Jan 2016 05:56:23 +0000
(21:56 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 28 Jan 2016 05:56:46 +0000
(21:56 -0800)
src/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_device.c
b/src/vulkan/anv_device.c
index adf33a84cf4052bfad555c0fe8a21760129ae90b..66105f0a83d21398915b50b1b14b79b4923ec5db 100644
(file)
--- 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++) {