projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git]
/
Test
/
atomicAdd.comp
1
#version 320 es
2
layout(local_size_x = 1) in;
3
4
struct structType{
5
int y[3];
6
};
7
8
layout(std430) buffer t2 {
9
structType f;
10
} t;
11
12
buffer coherent Buffer { int x; };
13
int z;
14
15
void main() {
16
atomicAdd(x, 1);
17
atomicAdd(t.f.y[1], 1);
18
atomicAdd(z, 1);
19
}