From a43c7b0b6b388e22f70356c3aaa88a0b391d0478 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Mon, 9 May 2016 08:51:17 -0600 Subject: layers: Fix safe_struct gen to skip debug_marker struct Safe structure doesn't work with static arrays; add an exception so safe-struct is not generated for the strcuture in question. Change-Id: I4605fdfb3dd840fb8e38371e7e59311fc6e1cb9f --- vk_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vk_helper.py b/vk_helper.py index fc99b1cc..62c1d1ab 100755 --- a/vk_helper.py +++ b/vk_helper.py @@ -1548,7 +1548,7 @@ class StructWrapperGen: # If struct has sType or ptr members, generate safe type def _hasSafeStruct(self, s): - exceptions = ['VkPhysicalDeviceFeatures', 'VkPipelineColorBlendStateCreateInfo'] + exceptions = ['VkPhysicalDeviceFeatures', 'VkPipelineColorBlendStateCreateInfo', 'VkDebugMarkerMarkerInfoEXT'] if s in exceptions: return False if 'sType' == self.struct_dict[s][0]['name']: -- cgit v1.2.3