diff options
| author | Yong He <yonghe@outlook.com> | 2023-12-06 12:05:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 12:05:07 -0800 |
| commit | 11111e5733b189127dc2c4934d67693b9bc6e764 (patch) | |
| tree | 0ba84df3e856eb104abec2ecac47242bc70a7b7d /tests/bugs/split-nested-types.slang | |
| parent | fa6d8717d02912697c09f2d7de802723ac6d6e47 (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/bugs/split-nested-types.slang')
| -rw-r--r-- | tests/bugs/split-nested-types.slang | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/bugs/split-nested-types.slang b/tests/bugs/split-nested-types.slang index 3bd4e239f..b9bfb9e62 100644 --- a/tests/bugs/split-nested-types.slang +++ b/tests/bugs/split-nested-types.slang @@ -1,14 +1,14 @@ //TEST_IGNORE_FILE: -struct A { int x; }; +public struct A { public int x; }; -struct B { float y; }; +public struct B { public float y; }; -struct CC { Texture2D t; SamplerState s; }; +public struct CC { public Texture2D t; public SamplerState s; }; -struct M +public struct M { - A a; - B b; - CC c; + public A a; + public B b; + public CC c; }; |
