1#version 400
2#extension GL_ARB_gpu_shader5 : require
3layout (points, invocations = 2) in ;
4layout (invocations = 3) in ;
5layout (line_strip, max_vertices = 2) out ;
6void main() {
7    gl_Position = gl_in[0].gl_Position + vec4(-0.5, 0.0, 0.0, float(gl_InvocationID));
8    EmitVertex();
9    EndPrimitive();
10}
11