12 vertex_to_gs = vertex;
19 layout(triangle_strip, max_vertices = 3) out;
21 uniform int ri, gi, bi, ai;
27 in vec4 vertex_to_gs[3];
32 for (int i = 0; i < 3; i++) {
33 gl_Position = vertex_to_gs[i];
34 v = vec4(f[ri], f[gi], f[bi], f[ai]);
62 uniform float f[0] 0.0
63 uniform float f[1] 1.0
64 uniform float f[2] 0.0
65 uniform float f[3] 0.0
66 draw arrays GL_TRIANGLE_FAN 0 4
67 probe all rgba 0.0 1.0 0.0 0.0