4 // require_extensions: GL_ARB_tessellation_shader
8 // From the ARB_tessellation_shader spec:
10 // "All tessellation control shader layout declarations in a program must
11 // specify the same output patch vertex count."
14 #extension GL_ARB_tessellation_shader: require
16 layout(vertices = 3) out;
17 layout(vertices = 4) out;
20 gl_out[gl_InvocationID].gl_Position = vec4(0.0);
21 gl_TessLevelOuter = float[4](1.0, 1.0, 1.0, 1.0);
22 gl_TessLevelInner = float[2](1.0, 1.0);