John Kessenich | 6996841 | 2014-08-13 06:37:59 +0000 | [diff] [blame] | 1 | #version 450 core
|
| 2 |
|
| 3 | in gl_PerVertex {
|
| 4 | float gl_CullDistance[3];
|
| 5 | } gl_in[gl_MaxPatchVertices];
|
| 6 |
|
| 7 | out gl_PerVertex {
|
| 8 | float gl_CullDistance[3];
|
| 9 | };
|
| 10 |
|
| 11 | void main()
|
| 12 | {
|
| 13 | gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];
|
| 14 | }
|
John Kessenich | 89400ea | 2017-06-29 10:46:47 -0600 | [diff] [blame] | 15 |
|
| 16 | layout(equal_spacing) in float f1[]; // ERROR, must be standalone
|
| 17 | layout(fractional_even_spacing) in float f2[]; // ERROR, must be standalone
|
| 18 | layout(fractional_odd_spacing) in float f3[]; // ERROR, must be standalone
|
| 19 | layout(cw) in float f4[]; // ERROR, must be standalone
|
| 20 | layout(ccw) in float f5[]; // ERROR, must be standalone
|
| 21 | layout(point_mode) in float f6[]; // ERROR, must be standalone
|