summaryrefslogtreecommitdiffstats
path: root/tests/current-bugs
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/current-bugs
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/current-bugs')
-rw-r--r--tests/current-bugs/resource-dynamic-dispatch.slang6
1 files changed, 3 insertions, 3 deletions
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
+}