diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-03 18:55:03 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-03 18:55:03 -0400 |
| commit | 0a3656788473244b4760791c4129a4080a6631f6 (patch) | |
| tree | 98f47426d4b4cf08f31416e9dfb32df0bebbc7c8 /source/slang/lower.cpp | |
| parent | 38ec0e0976010aee2f68dba47563adba798cfcc3 (diff) | |
associatedtypes: generating almost correct HLSL, but is not calling correctly mangled function.
Diffstat (limited to 'source/slang/lower.cpp')
| -rw-r--r-- | source/slang/lower.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/lower.cpp b/source/slang/lower.cpp index b8696df47..bdd041f71 100644 --- a/source/slang/lower.cpp +++ b/source/slang/lower.cpp @@ -765,6 +765,10 @@ struct LoweringVisitor loweredDeclRef.As<Decl>()); } + RefPtr<Type> visitThisType(ThisType* type) + { + return type; + } RefPtr<Type> visitNamedExpressionType(NamedExpressionType* type) { |
