diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-check-shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-shader.cpp b/source/slang/slang-check-shader.cpp index fcb9b1618..4af6a4328 100644 --- a/source/slang/slang-check-shader.cpp +++ b/source/slang/slang-check-shader.cpp @@ -1290,7 +1290,7 @@ namespace Slang // it defines keywords like `true` and `false`). // RefPtr<Scope> scope = new Scope(); - scope->parent = getLinkage()->getSessionImpl()->baseLanguageScope; + scope->parent = getLinkage()->getSessionImpl()->slangLanguageScope; // // Next, the scope needs to include all of the // modules in the program as peers, as if they |
