From 11111e5733b189127dc2c4934d67693b9bc6e764 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 6 Dec 2023 12:05:07 -0800 Subject: 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 --- tests/current-bugs/resource-dynamic-dispatch.slang | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/current-bugs') diff --git a/tests/current-bugs/resource-dynamic-dispatch.slang b/tests/current-bugs/resource-dynamic-dispatch.slang index 0a987b1cf..f344448dd 100644 --- a/tests/current-bugs/resource-dynamic-dispatch.slang +++ b/tests/current-bugs/resource-dynamic-dispatch.slang @@ -26,13 +26,13 @@ interface IInterface }; // Need public to make these conformances available -public struct A : IInterface +export struct A : IInterface { typedef SomeData Type; IGetTexture getType() { Type t = { gTexA }; return t; } }; -public struct B : IInterface +export struct B : IInterface { typedef SomeData Type; IGetTexture getType() { Type t = { gTexB }; return t; } @@ -64,4 +64,4 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) let tex = getTex.getTexture(); outputBuffer[tid] = tex.Load(int3(tid, tid, 0)); -} \ No newline at end of file +} -- cgit v1.2.3