diff options
| author | Jon Ashburn <jon@lunarg.com> | 2016-05-09 08:51:17 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-05-09 13:56:10 -0600 |
| commit | a43c7b0b6b388e22f70356c3aaa88a0b391d0478 (patch) | |
| tree | 14d64679dc1078b5756e871d8c140c893666cdfc | |
| parent | ca395a541712b83805ba840b7aca335018f4705e (diff) | |
| download | usermoji-a43c7b0b6b388e22f70356c3aaa88a0b391d0478.tar.xz | |
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
| -rwxr-xr-x | vk_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
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']: |
