projects
/
platform
/
upstream
/
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
adf33a8
..
66105f0
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++) {