yum-mirror/slang

Making it easier to work with shaders

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

Yong HeSupport `where` clause and type equality constraint. (#4986)d65530246

master
149 B12 linesraw
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
2
3// CHECK: error 20001:
4struct test
5{
6    float3 field;
7}
8void f()
9{
10    test x; x
11    vector<int,2> v;
12}