yum-mirror/slang

Making it easier to work with shaders

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

Yong HeAdd check for invalid use of modifiers. (#3402)92f21de58

master
188 B9 linesraw
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
2
3// CHECK: ([[# @LINE+1]]): error 31201
4layout(rgba8);
5Texture2D<float4> tex;
6
7// CHECK: ([[# @LINE+1]]): error 31202
8public internal int v()
9{}