blob: 8cdeb207221c5274cddc82c5ef53bfec4d03e67b [file] [log] [blame]
John Kessenich69968412014-08-13 06:37:59 +00001#version 450 core
2
3in gl_PerVertex {
4 float gl_CullDistance[3];
5} gl_in[gl_MaxPatchVertices];
6
7out gl_PerVertex {
8 float gl_CullDistance[3];
9};
10
11void main()
12{
13 gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];
14}
John Kessenich89400ea2017-06-29 10:46:47 -060015
16layout(equal_spacing) in float f1[]; // ERROR, must be standalone
17layout(fractional_even_spacing) in float f2[]; // ERROR, must be standalone
18layout(fractional_odd_spacing) in float f3[]; // ERROR, must be standalone
19layout(cw) in float f4[]; // ERROR, must be standalone
20layout(ccw) in float f5[]; // ERROR, must be standalone
21layout(point_mode) in float f6[]; // ERROR, must be standalone