summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h
index 56574d124..66eddc536 100644
--- a/source/slang/syntax.h
+++ b/source/slang/syntax.h
@@ -1044,8 +1044,15 @@ namespace Slang
class HLSLAppendStructuredBufferType : public BuiltinGenericType {};
class HLSLConsumeStructuredBufferType : public BuiltinGenericType {};
- class HLSLInputPatchType : public BuiltinGenericType {};
- class HLSLOutputPatchType : public BuiltinGenericType {};
+ class HLSLPatchType : public DeclRefType
+ {
+ public:
+ ExpressionType* getElementType();
+ IntVal* getElementCount();
+ };
+
+ class HLSLInputPatchType : public HLSLPatchType {};
+ class HLSLOutputPatchType : public HLSLPatchType {};
// HLSL geometry shader output stream types