summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Kraus <petr_kraus@email.cz>2017-09-04 23:20:42 +0200
committerPetr Kraus <petr_kraus@email.cz>2017-09-04 23:20:42 +0200
commita7f8ea3ebb4ca12148d29e2c6e78bbc001c0c901 (patch)
tree22e40a25407360e1f93105e980d3b0cc2e0fb5cc
parent02185a829989e43ea13839ec07532c09915c5de0 (diff)
downloadvulkan-spec-a7f8ea3ebb4ca12148d29e2c6e78bbc001c0c901.zip
vulkan-spec-a7f8ea3ebb4ca12148d29e2c6e78bbc001c0c901.tar.xz
Fix remaining len latexmath confusion
- fix `latex:` used in validity for remaining comma separated lengths in len - correct comments in `registry.rnc`
-rw-r--r--src/spec/registry.rnc4
-rw-r--r--src/spec/validitygenerator.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/spec/registry.rnc b/src/spec/registry.rnc
index 7dc5a79..d715a25 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 00808ec..cfae285 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)