yum-mirror/slang

Making it easier to work with shaders

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

ArielG-NVEmit memory qualifier once for GLSL targets (#4819)127f0c584

master
255 B11 linesraw
1//TEST:SIMPLE(filecheck=CHECK): -target glsl -entry computeMain -stage compute
2
3// CHECK: coherent
4// CHECK-NOT: coherent
5
6globallycoherent RWByteAddressBuffer bab;
7RWStructuredBuffer<uint> output;
8void computeMain()
9{
10    output[0] = bab.Load<uint>(0);
11}