4 // require_extensions: GL_ARB_tessellation_shader
7 // From the ARB_tessellation_shader spec (Section 4.3.8.2):
9 // "It is a compile-time error if the output patch vertex count specified in
10 // an output layout qualifier does not match the array size specified in any
11 // output variable declaration in the same shader."
14 #extension GL_ARB_tessellation_shader: require
16 layout(vertices = 3) out;
18 out vec4 four_not_equal_three[4];
20 /* Some compilers generate spurious errors if a shader does not contain
21 * any code or declarations.
23 int foo(void) { return 1; }