summaryrefslogtreecommitdiff
path: root/tests/autodiff/material/MaterialSystem.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/autodiff/material/MaterialSystem.slang')
-rw-r--r--tests/autodiff/material/MaterialSystem.slang8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/autodiff/material/MaterialSystem.slang b/tests/autodiff/material/MaterialSystem.slang
new file mode 100644
index 000000000..5e733fad9
--- /dev/null
+++ b/tests/autodiff/material/MaterialSystem.slang
@@ -0,0 +1,8 @@
+//TEST_IGNORE_FILE:
+
+__exported import IMaterial;
+
+IMaterial createMaterialClassConformance(int type, float3 value)
+{
+ return createDynamicObject<IMaterial, float3>(type, value);
+}