summaryrefslogtreecommitdiff
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-03 18:55:03 -0400
committerYong He <yonghe@outlook.com>2017-11-03 18:55:03 -0400
commit0a3656788473244b4760791c4129a4080a6631f6 (patch)
tree98f47426d4b4cf08f31416e9dfb32df0bebbc7c8 /source/slang/emit.cpp
parent38ec0e0976010aee2f68dba47563adba798cfcc3 (diff)
associatedtypes: generating almost correct HLSL, but is not calling correctly mangled function.
Diffstat (limited to 'source/slang/emit.cpp')
-rw-r--r--source/slang/emit.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp
index 2627e1f37..54788e33a 100644
--- a/source/slang/emit.cpp
+++ b/source/slang/emit.cpp
@@ -1195,6 +1195,11 @@ struct EmitVisitor
EmitDeclarator(declarator);
}
+ void visitThisType(ThisType* type, TypeEmitArg const&)
+ {
+ return;
+ }
+
void visitDeclRefType(DeclRefType* declRefType, TypeEmitArg const& arg)
{
auto declarator = arg.declarator;