blob: e2a582434dfb1c18d6288e9716b1d672da4b2f6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//TEST:SIMPLE(filecheck=CHECK): -target glsl -entry computeMain -stage compute
// CHECK: coherent
// CHECK-NOT: coherent
globallycoherent StructuredBuffer<uint> sb;
RWStructuredBuffer<uint> output;
void computeMain()
{
output[0] = sb.Load(0);
}
|