diff --git a/src/spec/registry.rnc b/src/spec/registry.rnc index 7dc5a790..d715a25a 100644 --- a/src/spec/registry.rnc +++ b/src/spec/registry.rnc @@ -109,7 +109,7 @@ Types = element types { # things, separated by commas (one for each array indirection): another # member of that struct, 'null-terminated' for a string, '1' to indicate it's # just a pointer (used for nested pointers), or a latex equation (prefixed with -# 'latex:') +# 'latexmath:') # externsync - denotes that the member should be externally synchronized # when accessed by Vulkan # optional - whether this value can be omitted by providing NULL (for @@ -262,7 +262,7 @@ Commands = element commands { # things, separated by commas (one for each array indirection): another # member of that struct, 'null-terminated' for a string, '1' to indicate it's # just a pointer (used for nested pointers), or a latex equation (prefixed with -# 'latex:') +# 'latexmath:') # externsync - denotes that the member should be externally synchronized # when accessed by Vulkan # optional - whether this value can be omitted by providing NULL (for diff --git a/src/spec/validitygenerator.py b/src/spec/validitygenerator.py index 00808ec5..cfae2857 100644 --- a/src/spec/validitygenerator.py +++ b/src/spec/validitygenerator.py @@ -367,7 +367,7 @@ class ValidityOutputGenerator(OutputGenerator): else: asciidoc += 'pointers to arrays of ' # Handle equations, which are currently denoted with latex - if 'latex:' in length: + if 'latexmath:' in length: asciidoc += length else: asciidoc += self.makeParameterName(length)