From b301c93753eaddb4571999f209cb8c1faa2fe205 Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 6 Feb 2024 01:03:42 -0800 Subject: Unify GLSL and HLSL buffer block parsing. (#3552) * Unify GLSL and HLSL buffer block parsing. Automatic GLSL module recognition. * Fix. --- source/slang/slang-parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-parser.h') 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, -- cgit v1.2.3