From 9d7503f4d1563d1be2e8fcdea9a4e8e33f1bd541 Mon Sep 17 00:00:00 2001 From: Dustin Graves Date: Wed, 2 Mar 2016 18:23:29 -0700 Subject: layers: Add NULL/sType checks for struct members Add param_checker support for validating struct members. Messages are logged for the following conditions, based on conditions specified in vk.xml: - A pointer is NULL and is not marked as optional in the XML - An array is NULL and is not marked as optional in the XML, unless its count is 0 - An array count is 0 and is not marked as optional in the XML - A structure's sType value does not match the value specified in the XML Addresses GL105, GL109, GH82 Change-Id: I7063fe2582b30fdfc0006fe945a0f9c84a2aa66a --- vk.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vk.xml') diff --git a/vk.xml b/vk.xml index 515f2d19..41e151a2 100644 --- a/vk.xml +++ b/vk.xml @@ -1174,7 +1174,7 @@ maintained in the master branch of the Khronos Vulkan Github project. - VkStructureType sType + VkStructureType sType const void* pNext VkPipelineInputAssemblyStateCreateFlags flags VkPrimitiveTopology topology -- cgit v1.2.3