summaryrefslogtreecommitdiff
path: root/source/slang/diff.meta.slang
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/diff.meta.slang')
-rw-r--r--source/slang/diff.meta.slang1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/diff.meta.slang b/source/slang/diff.meta.slang
index 80aca230a..b9cc0b103 100644
--- a/source/slang/diff.meta.slang
+++ b/source/slang/diff.meta.slang
@@ -26,6 +26,7 @@ __attributeTarget(FunctionDeclBase)
attribute_syntax [NoDiffThis] : NoDiffThisAttribute;
// A 'none-type' that acts as a run-time sentinel for zero differentials.
+[__AutoDiffBuiltin]
export struct NullDifferential : IDifferentiable
{
// for now, we'll use at least one field to make sure the type is non-empty