Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git] / Test / 450.tesc
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 } gl_out[4];\r
10 \r
11 void main()\r
12 {\r
13     gl_out[gl_InvocationID].gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];\r
14 }\r
15 \r
16 layout(location = 4) out bName1 {\r
17     float f;\r
18     layout(location = 5) float g;\r
19 } bInst1[2];\r
20 layout(location = 6) out bName2 {\r
21     float f;\r
22     layout(location = 7) float g;  // ERROR, location on array\r
23 } bInst2[2][3];\r