diff options
author | Jon Leech <[email protected]> | 2023-07-21 03:40:13 -0700 |
---|---|---|
committer | Jon Leech <[email protected]> | 2023-07-21 03:42:08 -0700 |
commit | 9c37439a7952c204150863fc35569dd864dbd599 (patch) | |
tree | 1a1624a3e3d0714b7d30d5abf08b3063d853747a /registry/generator.py | |
parent | 6eee20744f23424ef6088167aae1b52dfbcc1385 (diff) | |
download | Vulkan-Headers-9c37439a7952c204150863fc35569dd864dbd599.tar.gz Vulkan-Headers-9c37439a7952c204150863fc35569dd864dbd599.zip |
Update for Vulkan-Docs 1.3.258v1.3.258
Diffstat (limited to 'registry/generator.py')
-rw-r--r-- | registry/generator.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/registry/generator.py b/registry/generator.py index 56a6310..669e5d6 100644 --- a/registry/generator.py +++ b/registry/generator.py @@ -166,6 +166,7 @@ class GeneratorOptions: reparentEnums=True, sortProcedure=regSortFeatures, requireCommandAliases=False, + requireDepends=True, ): """Constructor. @@ -208,6 +209,11 @@ class GeneratorOptions: or <extension> being complete. Defaults to True. - sortProcedure - takes a list of FeatureInfo objects and sorts them in place to a preferred order in the generated output. + - requireCommandAliases - if True, treat command aliases + as required dependencies. + - requireDepends - whether to follow API dependencies when emitting + APIs. + Default is - core API versions - Khronos (ARB/KHR/OES) extensions @@ -295,6 +301,9 @@ class GeneratorOptions: """True if alias= attributes of <command> tags are transitively required.""" + self.requireDepends = requireDepends + """True if dependencies of API tags are transitively required.""" + def emptyRegex(self, pat): """Substitute a regular expression which matches no version or extension names for None or the empty string.""" |