From 87f00a36a123e36b415eeea82e02a8366cc5b881 Mon Sep 17 00:00:00 2001 From: Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> Date: Fri, 10 Jan 2025 03:16:24 +0530 Subject: [Auto-diff] Overhaul auto-diff type tracking + Overhaul dynamic dispatch for differentiable functions (#5866) * Overhauled the auto-diff system for dynamic dispatch * More fixes * remove intermediate dumps * Update slang-ast-type.h * More fixes + add a workaround for existential no-diff * Update reverse-control-flow-3.slang * remove dumps * remove more dumps * Delete working-reverse-control-flow-3.hlsl * Cleanup comments + unused variables * More comment cleanup * Add support for lowering `DiffPairType(TypePack)` & `MakePair(MakeValuePack, MakeValuePack)` * Fix array of issues in Falcor tests. * Update slang-ir-autodiff-pairs.cpp * More fixes for Falcor image tests * Small fixups. --------- Co-authored-by: Yong He --- tests/autodiff/dynamic-dispatch-material.slang.expected.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/autodiff/dynamic-dispatch-material.slang.expected.txt (limited to 'tests/autodiff/dynamic-dispatch-material.slang.expected.txt') diff --git a/tests/autodiff/dynamic-dispatch-material.slang.expected.txt b/tests/autodiff/dynamic-dispatch-material.slang.expected.txt new file mode 100644 index 000000000..49e4a0e6b --- /dev/null +++ b/tests/autodiff/dynamic-dispatch-material.slang.expected.txt @@ -0,0 +1,6 @@ +type: float +2.000000 +0.000000 +0.000000 +0.000000 +0.000000 -- cgit v1.2.3