aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-01-03 08:53:57 -0700
committerMark Lobodzinski <mark@lunarg.com>2017-01-03 10:28:58 -0700
commitaa6fd23ea330530532493f3c1aade5c40a03e73e (patch)
treecc3f81c81b135b318b65fdf568215592a5400af5 /scripts
parent3a3a60174ef4a016199050183450c6352eb7373d (diff)
downloadusermoji-aa6fd23ea330530532493f3c1aade5c40a03e73e.tar.xz
scripts: Remove hack from safe-struct generation
Some special-cases were added to safe_struct genration so that it'd spit out unneeded worker routines for normal functions. Removed the offending code and the workaround. Change-Id: I9394b06e3cdda011f417c725622eec3dd224a989
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vk_helper.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/vk_helper.py b/scripts/vk_helper.py
index 9771a255..3d5b1213 100755
--- a/scripts/vk_helper.py
+++ b/scripts/vk_helper.py
@@ -806,9 +806,6 @@ class StructWrapperGen:
for m in self.struct_dict[s]:
if self.struct_dict[s][m]['ptr']:
return True
- inclusions = ['VkDisplayPlanePropertiesKHR', 'VkDisplayModePropertiesKHR', 'VkDisplayPropertiesKHR']
- if s in inclusions:
- return True
return False
def _generateSafeStructHeader(self):