#version 400 core void main() { EmitStreamVertex(1); EndStreamPrimitive(0); EmitVertex(); EndPrimitive(); int id = gl_InvocationID; }