blob: c8104de87bbb7fee3eeaa835d07bf2f7908b3945 [file] [log] [blame]
John Kessenich39374da2015-05-15 21:32:46 +00001#version 300 es
2
3in mediump float ps;
4
5invariant gl_Position;
6
7void main()
8{
9 mediump int i = (4 * gl_VertexID - 10);
10 mediump int j = (4 * gl_VertexID - 10);
11
12 gl_Position = vec4(ps);
13 gl_Position *= float(i);
14
15 gl_PointSize = ps;
16 gl_PointSize *= float(j);
17}