summaryrefslogtreecommitdiff
path: root/source/slang/slang-parser.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-02-06 01:03:42 -0800
committerGitHub <noreply@github.com>2024-02-06 01:03:42 -0800
commitb301c93753eaddb4571999f209cb8c1faa2fe205 (patch)
tree72fef2e499abecad0dda5ba2347e5890346ac173 /source/slang/slang-parser.h
parent23c65b873f8002b74d60f61cacb3614da60e078d (diff)
Unify GLSL and HLSL buffer block parsing. (#3552)
* Unify GLSL and HLSL buffer block parsing. Automatic GLSL module recognition. * Fix.
Diffstat (limited to 'source/slang/slang-parser.h')
-rw-r--r--source/slang/slang-parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-parser.h b/source/slang/slang-parser.h
index 9933f6839..22b3e73ce 100644
--- a/source/slang/slang-parser.h
+++ b/source/slang/slang-parser.h
@@ -12,6 +12,7 @@ namespace Slang
void parseSourceFile(
ASTBuilder* astBuilder,
TranslationUnitRequest* translationUnit,
+ SourceLanguage sourceLanguage,
TokenSpan const& tokens,
DiagnosticSink* sink,
Scope* outerScope,