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/type-layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/type-layout.h') diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h index 4ce6dc355..07530bdfc 100644 --- a/source/slang/type-layout.h +++ b/source/slang/type-layout.h @@ -676,7 +676,7 @@ createStructuredBufferTypeLayout( RefPtr structuredBufferType, RefPtr elementType); - +int findGenericParam(List> & genericParameters, GlobalGenericParamDecl * decl); // } -- cgit v1.2.3