diff options
| author | Dustin Graves <dustin@lunarg.com> | 2017-03-28 14:18:54 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-03-29 10:59:14 -0600 |
| commit | ee3ba1acdc5f2555cf0483e37d2a07c693484642 (patch) | |
| tree | 4c6442d2cc14a8626dd977fb2c95133ffdb939a7 /scripts/parameter_validation_generator.py | |
| parent | 0f856a0003d08aa9753eba13e1ea5fc84c249007 (diff) | |
| download | usermoji-ee3ba1acdc5f2555cf0483e37d2a07c693484642.tar.xz | |
layers: Fix extension func/core struct codegen
Fix code generation for extension functions receiving struct parameter
types defined by core Vulkan. Extensions are processed as separate
features by the code generator, and the type info required for structure
generation was not being shared across features. The code generator has
been modified to share type info across features so that the validation
code generated for extension functions includes validation for core
structures:
- Prevent unique objects and parameter validation code generators from
clearing struct type info data structures at the start of feature
processing.
- Remove unused data structures from unique objects code generator.
- Adds handle unwrapping and parameter validation for elements in the
vkCmdPushDescriptorSetKHR pDescriptorWrites parameter.
- Adds handle unwrapping and parameter validation for elements in the
vkCreateSharedSwapCHainsKHR pCreateInfos parameter.
- Adds VkAllocationCallback parameter validation to the WSI and
descriptor update template extensions functions.
Change-Id: I016aa6550681dbf7d6bda834272374ce63ed1940
Diffstat (limited to 'scripts/parameter_validation_generator.py')
| -rw-r--r-- | scripts/parameter_validation_generator.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/parameter_validation_generator.py b/scripts/parameter_validation_generator.py index adcc4ab5..1d0dec81 100644 --- a/scripts/parameter_validation_generator.py +++ b/scripts/parameter_validation_generator.py @@ -238,7 +238,6 @@ class ParamCheckerOutputGenerator(OutputGenerator): self.structTypes = dict() self.commands = [] self.structMembers = [] - self.validatedStructs = dict() self.newFlags = set() def endFeature(self): # C-specific |
