summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-autodiff-rev.cpp
diff options
context:
space:
mode:
authorSai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com>2022-12-12 17:33:44 -0500
committerGitHub <noreply@github.com>2022-12-12 14:33:44 -0800
commit9d048351d283f8df2a68aca52b3573dcbb8cdb9b (patch)
tree71b869fd3d460193a1dccc77b9c0b6e3511ab53b /source/slang/slang-ir-autodiff-rev.cpp
parentc2dc1a86ed2f5e160749fe9f99b70db6c3e4d7a6 (diff)
Added support for nested calls (#2562)
* Added initial support for nested calls * removed comments Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/slang/slang-ir-autodiff-rev.cpp')
-rw-r--r--source/slang/slang-ir-autodiff-rev.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-autodiff-rev.cpp b/source/slang/slang-ir-autodiff-rev.cpp
index 34a08ee93..c7fbc415a 100644
--- a/source/slang/slang-ir-autodiff-rev.cpp
+++ b/source/slang/slang-ir-autodiff-rev.cpp
@@ -589,7 +589,7 @@ struct BackwardDiffTranscriber
{
// Create inout version.
auto inoutDiffPairType = builder->getInOutType(diffPairType);
- auto newParam = builder->emitParam(inoutDiffPairType);
+ auto newParam = builder->emitParam(inoutDiffPairType);
// Map the _load_ of the new parameter as the clone of the old one.
auto newParamLoad = builder->emitLoad(newParam);