Merge pull request #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git] / Test / link.multiBlocksInvalid.0.1.vert
1 #version 430
2
3 layout (std140) uniform ColorBlock
4 {
5         vec4 color2;
6 } uColorB;
7
8 layout (std140) uniform Block
9 {
10         mat4 uWorld;
11 } uDefaultB;
12
13 out Vertex
14 {
15         vec4 v2;
16 } oVert;
17
18
19 in vec4 P;
20
21 vec4 getColor2()
22 {
23         return uColorB.color2;
24 }
25
26 vec4 getWorld()
27 {
28         return uDefaultB.uWorld * P;
29         oVert.v2 = vec4(1);
30 }
31