summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-syntax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-syntax.cpp')
-rw-r--r--source/slang/slang-syntax.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-syntax.cpp b/source/slang/slang-syntax.cpp
index 589a170fa..9e448a5fa 100644
--- a/source/slang/slang-syntax.cpp
+++ b/source/slang/slang-syntax.cpp
@@ -985,6 +985,11 @@ Val* _tryLookupConcreteAssociatedTypeFromThisTypeSubst(ASTBuilder* builder, Decl
return nullptr;
}
+Type* UniformParameterGroupType::getLayoutType()
+{
+ return as<Type>(getGenericArg(getDeclRef(), 1));
+}
+
ModuleDecl* getModuleDecl(Decl* decl)
{
for (auto dd = decl; dd; dd = dd->parentDecl)