blob: 4832bb5fd78a438c2d28017ccece037c722b7168 (
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 RWByteAddressBuffer bab;
RWStructuredBuffer<uint> output;
void computeMain()
{
output[0] = bab.Load<uint>(0);
}
|