summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 2861b82ca..5df180f46 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -66,12 +66,8 @@ Session::Session()
slangLanguageScope = new Scope();
slangLanguageScope->nextSibling = hlslLanguageScope;
- glslLanguageScope = new Scope();
- glslLanguageScope->nextSibling = coreLanguageScope;
-
addBuiltinSource(coreLanguageScope, "core", getCoreLibraryCode());
addBuiltinSource(hlslLanguageScope, "hlsl", getHLSLLibraryCode());
- addBuiltinSource(glslLanguageScope, "glsl", getGLSLLibraryCode());
}
struct IncludeHandlerImpl : IncludeHandler
@@ -255,10 +251,6 @@ void CompileRequest::parseTranslationUnit(
languageScope = mSession->hlslLanguageScope;
break;
- case SourceLanguage::GLSL:
- languageScope = mSession->glslLanguageScope;
- break;
-
case SourceLanguage::Slang:
default:
languageScope = mSession->slangLanguageScope;