summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Leech <devrel@oddhack.org>2017-09-11 21:33:07 -0700
committerGitHub <noreply@github.com>2017-09-11 21:33:07 -0700
commitb02562cdc91e65a2126e1231736d606494317fc7 (patch)
treea564840cdfbc6f78efbf7172249e0c069629fb1b
parent6aa7d7bd2c447a3f10433ccd3b38a82e2a587eac (diff)
parenta7f8ea3ebb4ca12148d29e2c6e78bbc001c0c901 (diff)
downloadvulkan-spec-b02562cdc91e65a2126e1231736d606494317fc7.zip
vulkan-spec-b02562cdc91e65a2126e1231736d606494317fc7.tar.xz
Merge pull request #556 from krOoze/fix_len_math
Fix remaining len latexmath confusion
-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)