4 GL_ARB_geometry_shader4
18 #extension GL_ARB_geometry_shader4: enable
22 for (int i = 0; i < 3; i++) {
23 gl_Position = gl_PositionIn[i];
29 input type GL_TRIANGLES
30 output type GL_TRIANGLE_STRIP
38 gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);
49 draw arrays GL_TRIANGLE_FAN 0 4
50 probe all rgba 0.0 1.0 0.0 1.0