blob: f27b12b259cb697f31c6d02d4e00d1354d6e3adf [file] [log] [blame]
John Kessenich13761062019-07-26 08:02:40 -06001#version 310 es
2
3layout(location = 0) in mediump float ps;
4
5invariant gl_Position;
6
7void main()
8{
9 gl_Position = vec4(ps);
10 gl_Position *= float(4 - gl_VertexIndex);
11
12 gl_PointSize = ps;
13 gl_PointSize *= float(5 - gl_InstanceIndex);
14}