aboutsummaryrefslogtreecommitdiff
path: root/src/amberscript/parser.h
diff options
context:
space:
mode:
authordan sinclair <dsinclair@google.com>2019-09-24 18:50:12 -0400
committerGitHub <noreply@github.com>2019-09-24 18:50:12 -0400
commit03ee97ca1492a4bf4f82df38f4f2a1899681fab0 (patch)
tree257109d867486b17edad7d95344e0a0db6f35f13 /src/amberscript/parser.h
parent289efa4b54b8c498c3623475558da89a2a715532 (diff)
downloadamber-03ee97ca1492a4bf4f82df38f4f2a1899681fab0.tar.gz
Remove DatumType usage from AmberScript parser. (#664)
This CL changes ToDatumType to be ToFormat and uses the generated format within the amber script parser. The DatumType class is moved into the vkscript/ folder as that is the only remaining usage.
Diffstat (limited to 'src/amberscript/parser.h')
-rw-r--r--src/amberscript/parser.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amberscript/parser.h b/src/amberscript/parser.h
index a127430..4c99e17 100644
--- a/src/amberscript/parser.h
+++ b/src/amberscript/parser.h
@@ -44,7 +44,6 @@ class Parser : public amber::Parser {
Result ToShaderType(const std::string& str, ShaderType* type);
Result ToBufferType(const std::string& str, BufferType* type);
Result ToShaderFormat(const std::string& str, ShaderFormat* fmt);
- Result ToDatumType(const std::string& str, DatumType* type);
Result ToPipelineType(const std::string& str, PipelineType* type);
Result ValidateEndOfStatement(const std::string& name);