diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-09-18 14:15:09 -0600 |
|---|---|---|
| committer | Mike Schuchardt <mikes@lunarg.com> | 2018-03-09 13:54:31 -0700 |
| commit | 91a88be3fc16c98abf7dd2bac009db71e331117a (patch) | |
| tree | 3b30c58e79318436cbd55e63faa7936af4826f5c /scripts/unique_objects_generator.py | |
| parent | f9ccc7692a3d5188014c45512a07a90cde774f2f (diff) | |
| download | usermoji-91a88be3fc16c98abf7dd2bac009db71e331117a.tar.xz | |
scripts: Allow for skipping version_1_1 features
Treat 1.1 features as 1.0, instead of as an extension.
Diffstat (limited to 'scripts/unique_objects_generator.py')
| -rw-r--r-- | scripts/unique_objects_generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/unique_objects_generator.py b/scripts/unique_objects_generator.py index 67905dab..4d509942 100644 --- a/scripts/unique_objects_generator.py +++ b/scripts/unique_objects_generator.py @@ -261,7 +261,7 @@ class UniqueObjectsOutputGenerator(OutputGenerator): OutputGenerator.beginFeature(self, interface, emit) self.headerVersion = None - if self.featureName != 'VK_VERSION_1_0': + if self.featureName != 'VK_VERSION_1_0' and self.featureName != 'VK_VERSION_1_1': white_list_entry = [] if (self.featureExtraProtect != None): white_list_entry += [ '#ifdef %s' % self.featureExtraProtect ] |
