From 33fb95980b0120cdd4d4f2d51f5f116e808dd4aa Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 6 Jan 2023 13:39:06 -0800 Subject: Split bwd_diff op into separate ops for primal and propagate func. (#2582) * Split bwd_diff op into separate ops for primal and propagate func. * Fix. * Download swiftshader with github actions instead of curl on linux. * Fix github action. Co-authored-by: Yong He --- source/slang/slang-mangle.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/slang/slang-mangle.cpp') diff --git a/source/slang/slang-mangle.cpp b/source/slang/slang-mangle.cpp index 6ea9ea01e..58d6aaae3 100644 --- a/source/slang/slang-mangle.cpp +++ b/source/slang/slang-mangle.cpp @@ -521,6 +521,12 @@ namespace Slang emitRaw(context, "FwdReq_"); else if (as(decl)) emitRaw(context, "BwdReq_"); + else if (as(decl)) + emitRaw(context, "BwdReq_Prop_"); + else if (as(decl)) + emitRaw(context, "BwdReq_Primal_"); + else if (as(decl)) + emitRaw(context, "BwdReq_CtxType_"); else { // TODO: handle other cases -- cgit v1.2.3