projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f28645f
)
anv/device: Fix version check
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 28 Jan 2016 23:43:44 +0000
(15:43 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 30 Jan 2016 04:36:58 +0000
(20:36 -0800)
The bottom-end check was wrong so it was only working on <= 1.0.0. Oops.
src/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_device.c
b/src/vulkan/anv_device.c
index 5bb9fec0085a7863cb458f84b3d0e81b5223e213..fe9808f0bf78513871e40cafa7913bca8419f2c9 100644
(file)
--- a/
src/vulkan/anv_device.c
+++ b/
src/vulkan/anv_device.c
@@
-215,7
+215,7
@@
VkResult anv_CreateInstance(
assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO);
uint32_t client_version = pCreateInfo->pApplicationInfo->apiVersion;
- if (VK_MAKE_VERSION(1, 0, 0)
<
client_version ||
+ if (VK_MAKE_VERSION(1, 0, 0)
>
client_version ||
client_version > VK_MAKE_VERSION(1, 0, 2)) {
return vk_error(VK_ERROR_INCOMPATIBLE_DRIVER);
}