From 1a0bbb53c116e6e5f89ed577803341e6aa1bce82 Mon Sep 17 00:00:00 2001 From: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> Date: Fri, 12 Jul 2024 11:46:38 -0400 Subject: use `nullptr' for IRStructKey with `IRDerivativeMemberDecoration` (#4623) --- source/slang/slang-emit.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source') diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 243dd65e8..d3f6ebd8d 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -292,6 +292,7 @@ void calcRequiredLoweringPassSet(RequiredLoweringPassSet& result, CodeGenContext case kIROp_BackwardDifferentiate: case kIROp_ForwardDifferentiate: case kIROp_MakeDifferentialPairUserCode: + case kIROp_DerivativeMemberDecoration: result.autodiff = true; break; case kIROp_VerticesType: -- cgit v1.2.3