Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git] / Test / 450.tese
1 #version 450 core\r
2 \r
3 in gl_PerVertex {\r
4     float gl_CullDistance[3];\r
5 } gl_in[gl_MaxPatchVertices];\r
6 \r
7 out gl_PerVertex {\r
8     float gl_CullDistance[3];\r
9 };\r
10 \r
11 void main()\r
12 {\r
13     gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];\r
14 }\r
15 \r
16 layout(equal_spacing)           in float f1[];  // ERROR, must be standalone\r
17 layout(fractional_even_spacing) in float f2[];  // ERROR, must be standalone\r
18 layout(fractional_odd_spacing)  in float f3[];  // ERROR, must be standalone\r
19 layout(cw)                      in float f4[];  // ERROR, must be standalone\r
20 layout(ccw)                     in float f5[];  // ERROR, must be standalone\r
21 layout(point_mode)              in float f6[];  // ERROR, must be standalone\r