From d6130baa8528c0a5b2e1b10b87fe02d8fc1a1b1a Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 20 Nov 2017 05:28:22 -0500 Subject: fixup global generic parameters 1. simplify RoundUpToAlignment() 2. add new a render-compute test case to cover the situation where the entry-point interface (parameter/return types of an entry-point function) is dependent on the global generic type. 3. initial fixes to get this test case to compile (but is not producing correct HLSL output yet) --- source/slang/syntax.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/syntax.h') diff --git a/source/slang/syntax.h b/source/slang/syntax.h index b4d550ef5..f3690d9ae 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -1156,6 +1156,7 @@ namespace Slang Session* session, Decl* decl); + void insertSubstAtBottom(RefPtr & substHead, RefPtr substToInsert); RefPtr getNewThisTypeSubst(DeclRefBase & declRef); RefPtr getThisTypeSubst(DeclRefBase & declRef, bool insertSubstEntry); void removeSubstitution(DeclRefBase & declRef, RefPtr subst); -- cgit v1.2.3