diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-08-01 09:15:06 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-08-01 15:52:25 -0600 |
| commit | 4916086cf41ff0c5137d81fe251af8b1c4f30c24 (patch) | |
| tree | 35e4e6ffa185a2960a1b26da7c340de2be61a1c0 /scripts/cgenerator.py | |
| parent | 94f53facd43d91d7f2fd46259e456daef454f046 (diff) | |
| download | usermoji-4916086cf41ff0c5137d81fe251af8b1c4f30c24.tar.xz | |
header: Update to version 1.0.57 of the vulkan hdr
- updated vulkan.h
- updated vk.xml
- updated cgenerator.py
- updated Win/Lin json files
- updated and fixed vk_validation_error_database.h
- updated vk_validation_error_messages.h
- updated vulkan.hpp
Change-Id: Idebc490660833daac43d234db44131e9bf2b910b
Diffstat (limited to 'scripts/cgenerator.py')
| -rw-r--r-- | scripts/cgenerator.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/cgenerator.py b/scripts/cgenerator.py index 298a7742..836de52d 100644 --- a/scripts/cgenerator.py +++ b/scripts/cgenerator.py @@ -240,7 +240,16 @@ class COutputGenerator(OutputGenerator): # Add extra newline after multi-line entries. if '\n' in s: s += '\n' - self.appendSection(category, s) + # This is a temporary workaround for internal issue #877, + # while we consider other approaches. The problem is that + # function pointer types can have dependencies on structures + # and vice-versa, so they can't be strictly separated into + # sections. The workaround is to define those types in the + # same section, in dependency order. + if (category == 'funcpointer'): + self.appendSection('struct', s) + else: + self.appendSection(category, s) # # Struct (e.g. C "struct" type) generation. # This is a special case of the <type> tag where the contents are |
