From ffd0b9c9b06a22d886c77d777d9aa0cd1298d363 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 3 Jul 2020 12:37:17 -0700 Subject: Emit pointers for CPU target. (#1418) Co-authored-by: Yong He --- source/slang/slang-emit-cpp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-emit-cpp.h') diff --git a/source/slang/slang-emit-cpp.h b/source/slang/slang-emit-cpp.h index 6f91444a3..c64b92b0f 100644 --- a/source/slang/slang-emit-cpp.h +++ b/source/slang/slang-emit-cpp.h @@ -63,6 +63,7 @@ public: protected: // Implement CLikeSourceEmitter interface + virtual bool doesTargetSupportPtrTypes() SLANG_OVERRIDE { return true; } virtual void emitParameterGroupImpl(IRGlobalParam* varDecl, IRUniformParameterGroupType* type) SLANG_OVERRIDE; virtual void emitEntryPointAttributesImpl(IRFunc* irFunc, IREntryPointDecoration* entryPointDecor) SLANG_OVERRIDE; virtual void emitSimpleTypeImpl(IRType* type) SLANG_OVERRIDE; -- cgit v1.2.3