blob: 46c3f0fedbbd054b050fbadb93e6d58a2f8a1ff3 [file] [log] [blame]
#version 310 es
in mediump float ps;
invariant gl_Position;
void main()
{
gl_Position = vec4(ps);
gl_Position *= float(4 - gl_VertexIndex);
gl_PointSize = ps;
gl_PointSize *= float(5 - gl_InstanceIndex);
}