From 0a3656788473244b4760791c4129a4080a6631f6 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 3 Nov 2017 18:55:03 -0400 Subject: associatedtypes: generating almost correct HLSL, but is not calling correctly mangled function. --- source/slang/emit.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/slang/emit.cpp') 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; -- cgit v1.2.3