1617a3babSopenharmony_ci#version 450 core 2617a3babSopenharmony_ci 3617a3babSopenharmony_ciin gl_PerVertex { 4617a3babSopenharmony_ci float gl_CullDistance[3]; 5617a3babSopenharmony_ci} gl_in[gl_MaxPatchVertices]; 6617a3babSopenharmony_ci 7617a3babSopenharmony_ciout gl_PerVertex { 8617a3babSopenharmony_ci float gl_CullDistance[3]; 9617a3babSopenharmony_ci}; 10617a3babSopenharmony_ci 11617a3babSopenharmony_civoid main() 12617a3babSopenharmony_ci{ 13617a3babSopenharmony_ci gl_CullDistance[2] = gl_in[1].gl_CullDistance[2]; 14617a3babSopenharmony_ci} 15617a3babSopenharmony_ci 16617a3babSopenharmony_cilayout(equal_spacing) in float f1[]; // ERROR, must be standalone 17617a3babSopenharmony_cilayout(fractional_even_spacing) in float f2[]; // ERROR, must be standalone 18617a3babSopenharmony_cilayout(fractional_odd_spacing) in float f3[]; // ERROR, must be standalone 19617a3babSopenharmony_cilayout(cw) in float f4[]; // ERROR, must be standalone 20617a3babSopenharmony_cilayout(ccw) in float f5[]; // ERROR, must be standalone 21617a3babSopenharmony_cilayout(point_mode) in float f6[]; // ERROR, must be standalone 22