diff options
| author | Yong He <yhe@nvidia.com> | 2020-06-05 12:57:57 -0700 |
|---|---|---|
| committer | Yong He <yhe@nvidia.com> | 2020-06-05 12:57:57 -0700 |
| commit | 389be08822ba554327b5948266f54acf8a312fe7 (patch) | |
| tree | 6a965f268e78be468e00aaf74408ce386eff38aa /source | |
| parent | 1b8731c809761c4e2dbec81dcee207f8a4621903 (diff) | |
Fix FindTypeByName reflection API not finding stdlib types.
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 80860074d..69dbf133d 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 |
