Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git] / Test / link.vk.pcNamingValid.0.0.vert
1 #version 450
2 layout (push_constant) uniform PCBlock
3 {
4         mat4 uWorld;
5         mat4 uProj;
6         vec4 color1;
7         vec4 color2;
8 } a;
9
10 vec4 getWorld();
11 vec4 getColor2();
12
13 layout(location = 0) out vec4 oColor;
14
15 void
16 main()
17 {
18         oColor = a.color1 * getColor2();
19
20         gl_Position = a.uProj * getWorld();
21 }