summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ast-expr.h')
-rw-r--r--source/slang/slang-ast-expr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/slang/slang-ast-expr.h b/source/slang/slang-ast-expr.h
index ba0b4ce7a..301dded49 100644
--- a/source/slang/slang-ast-expr.h
+++ b/source/slang/slang-ast-expr.h
@@ -452,10 +452,14 @@ class HigherOrderInvokeExpr : public Expr
List<Name*> newParameterNames;
};
+class PrimalSubstituteExpr : public HigherOrderInvokeExpr
+{
+ SLANG_AST_CLASS(PrimalSubstituteExpr)
+};
+
class DifferentiateExpr : public HigherOrderInvokeExpr
{
SLANG_ABSTRACT_AST_CLASS(DifferentiateExpr)
-
};
/// An expression of the form `__fwd_diff(fn)` to access the
/// forward-mode derivative version of the function `fn`