projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2d476
)
vk/extensions: count needs to be <= number of extensions
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 1 Sep 2015 19:23:48 +0000
(12:23 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 1 Sep 2015 19:28:50 +0000
(12:28 -0700)
src/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_device.c
b/src/vulkan/anv_device.c
index 57b2681a2d1426b31b42df1fafba215bfafc40bb..19f3c1ed3cccd8a6010005e77901fac1ab161020 100644
(file)
--- a/
src/vulkan/anv_device.c
+++ b/
src/vulkan/anv_device.c
@@
-646,7
+646,7
@@
VkResult anv_GetGlobalExtensionProperties(
return VK_SUCCESS;
}
- assert(*pCount < ARRAY_SIZE(global_extensions));
+ assert(*pCount <
=
ARRAY_SIZE(global_extensions));
*pCount = ARRAY_SIZE(global_extensions);
memcpy(pProperties, global_extensions, sizeof(global_extensions));