summaryrefslogtreecommitdiffstats
path: root/tests/autodiff/material/MaterialSystem.slang
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-12-06 12:05:07 -0800
committerGitHub <noreply@github.com>2023-12-06 12:05:07 -0800
commit11111e5733b189127dc2c4934d67693b9bc6e764 (patch)
tree0ba84df3e856eb104abec2ecac47242bc70a7b7d /tests/autodiff/material/MaterialSystem.slang
parentfa6d8717d02912697c09f2d7de802723ac6d6e47 (diff)
Support visibility control and default to `internal`. (#3380)
* Support visibility control and default to `internal`. * Fix wip. * Fixes. * Fix. * Fix test. * Add legacy language detection and compatibility for existing code. * Add doc. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/autodiff/material/MaterialSystem.slang')
-rw-r--r--tests/autodiff/material/MaterialSystem.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autodiff/material/MaterialSystem.slang b/tests/autodiff/material/MaterialSystem.slang
index 5e733fad9..9fcee1386 100644
--- a/tests/autodiff/material/MaterialSystem.slang
+++ b/tests/autodiff/material/MaterialSystem.slang
@@ -2,7 +2,7 @@
__exported import IMaterial;
-IMaterial createMaterialClassConformance(int type, float3 value)
+public IMaterial createMaterialClassConformance(int type, float3 value)
{
return createDynamicObject<IMaterial, float3>(type, value);
}