3 GL_ARB_fragment_layer_viewport
4 GL_AMD_vertex_shader_layer
5 ignore_missing_uniforms
9 #extension GL_AMD_vertex_shader_layer: enable
10 in vec4 piglit_vertex;
15 gl_Position = piglit_vertex;
23 layout(triangle_strip, max_vertices=3) out;
28 for (int i = 0; i < 3; i++) {
29 gl_Position = gl_in[i].gl_Position;
36 #extension GL_ARB_fragment_layer_viewport: require
43 gl_FragColor = vec4(0,1,0,0);
45 gl_FragColor = vec4(1,0,0,0);
49 clear color 0.0 0.0 0.0 0.0
58 uniform int layer 10000
61 uniform int layer -10000
64 probe all rgb 0.0 1.0 0.0