1 # Check producing a single tessellated isoline doesn't give multiple lines
4 GL_ARB_tessellation_shader
12 [tessellation evaluation shader]
13 #extension GL_ARB_tessellation_shader: require
14 layout(isolines, equal_spacing) in;
19 gl_Position = vec4(gl_TessCoord.xy * 2.0 - 1.0, 0.0, 1.0);
20 good = int(gl_TessCoord.y == 0.0);
30 gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);
32 gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
36 clear color 0.0 1.0 0.0 1.0
38 patch parameter vertices 2
39 patch parameter default level outer 1 4 0 0
40 draw arrays GL_PATCHES 0 2
41 probe all rgba 0.0 1.0 0.0 1.0