diff options
| author | Dustin Graves <dustin@lunarg.com> | 2016-03-03 14:17:08 -0700 |
|---|---|---|
| committer | Dustin Graves <dustin@lunarg.com> | 2016-03-07 12:06:57 -0700 |
| commit | 5aefef01499d849a090b5af5143efce45bf0ebea (patch) | |
| tree | 0c9469d1fcd6953d42261d36f53961ed04f93cc2 /vk.xml | |
| parent | 9d7503f4d1563d1be2e8fcdea9a4e8e33f1bd541 (diff) | |
| download | usermoji-5aefef01499d849a090b5af5143efce45bf0ebea.tar.xz | |
layers: Add param checks for CreateInstance/Device
Add parameter checks for vkCreateDevice and vkCreateInstance.
Includes a local fix for GitHub Vulkan-Docs issue #104 to
prevent false positives from being generated for the
pCreateInfo->pEnabledFeatures == NULL case.
Change-Id: I1f3642e7e18c8bfb32b0996b6e2e57a5f9d8e011
Diffstat (limited to 'vk.xml')
| -rw-r--r-- | vk.xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -488,7 +488,7 @@ maintained in the master branch of the Khronos Vulkan Github project. <member optional="true" len="enabledLayerCount,null-terminated">const <type>char</type>* const* <name>ppEnabledLayerNames</name></member> <!-- Ordered list of layer names to be enabled --> <member optional="true"><type>uint32_t</type> <name>enabledExtensionCount</name></member> <member optional="true" len="enabledExtensionCount,null-terminated">const <type>char</type>* const* <name>ppEnabledExtensionNames</name></member> - <member>const <type>VkPhysicalDeviceFeatures</type>* <name>pEnabledFeatures</name></member> + <member optional="true">const <type>VkPhysicalDeviceFeatures</type>* <name>pEnabledFeatures</name></member> <validity> <usage>Any given element of pname:ppEnabledLayerNames must: be the name of a layer present on the system, exactly matching a string returned in the sname:VkLayerProperties structure by fname:vkEnumerateDeviceLayerProperties</usage> <usage>Any given element of pname:ppEnabledExtensionNames must: be the name of an extension present on the system, exactly matching a string returned in the sname:VkExtensionProperties structure by fname:vkEnumerateDeviceExtensionProperties</usage> |
