summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit.cpp')
-rw-r--r--source/slang/slang-emit.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp
index de9d23e97..2478eccc2 100644
--- a/source/slang/slang-emit.cpp
+++ b/source/slang/slang-emit.cpp
@@ -376,11 +376,7 @@ Result linkAndOptimizeIR(
dumpIRIfEnabled(codeGenContext, irModule, "BEFORE-AUTODIFF");
// Process higher-order calles to auto-diff passes.
- // 1. Generate JVP code wherever necessary. (Linearization or "forward-mode" pass)
- processForwardDifferentiableFuncs(irModule, sink);
-
- // 2. Transpose JVP to VJP code wherever needed. (Transposition or "reverse-mode" pass)
- // processVJPDerivativeMarkers(module); // Disabled currently. No impl yet.
+ processDifferentiableFuncs(irModule, sink);
stripAutoDiffDecorations(irModule);