Skip to content

Commit cced76c

Browse files
Add OpPrintf to non-differentiable insts list (shader-slang#5718)
1 parent 4003d33 commit cced76c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/slang/slang-ir-autodiff-fwd.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -2076,6 +2076,7 @@ InstPair ForwardDiffTranscriber::transcribeInstImpl(IRBuilder* builder, IRInst*
20762076
case kIROp_GetArrayLength:
20772077
case kIROp_SizeOf:
20782078
case kIROp_AlignOf:
2079+
case kIROp_Printf:
20792080
return transcribeNonDiffInst(builder, origInst);
20802081

20812082
// A call to createDynamicObject<T>(arbitraryData) cannot provide a diff value,

0 commit comments

Comments
 (0)