summaryrefslogtreecommitdiff
path: root/source/slang/modifier-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/modifier-defs.h')
-rw-r--r--source/slang/modifier-defs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/slang/modifier-defs.h b/source/slang/modifier-defs.h
index 8ccdc75b1..f0443c501 100644
--- a/source/slang/modifier-defs.h
+++ b/source/slang/modifier-defs.h
@@ -335,9 +335,11 @@ SIMPLE_SYNTAX_CLASS(CallAttribute, Attribute) // `[call]`
SIMPLE_SYNTAX_CLASS(MaxTessFactorAttribute, Attribute)
SIMPLE_SYNTAX_CLASS(OutputControlPointsAttribute, Attribute)
-SIMPLE_SYNTAX_CLASS(OuptutTopologyAttribute, Attribute)
+SIMPLE_SYNTAX_CLASS(OutputTopologyAttribute, Attribute)
SIMPLE_SYNTAX_CLASS(PartitioningAttribute, Attribute)
-SIMPLE_SYNTAX_CLASS(PatchConstantFuncAttribute, Attribute)
+SYNTAX_CLASS(PatchConstantFuncAttribute, Attribute)
+ FIELD(RefPtr<FuncDecl>, patchConstantFuncDecl)
+END_SYNTAX_CLASS()
SIMPLE_SYNTAX_CLASS(DomainAttribute, Attribute)
SIMPLE_SYNTAX_CLASS(EarlyDepthStencilAttribute, Attribute)