yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Yong HeDiagnose on use of struct inheritance. (#7419)4ae6e9d8b

master
206 B12 linesraw
1//TEST_IGNORE_FILE:
2// struct-inheritance-imported.slang
3#pragma warning(disable:30816)
4public struct Base
5{
6    public int a;
7}
8
9public struct Derived : Base
10{}
11
12public int getA(Derived d) { return d.a; }