1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
3 layout(location=1) in vec3 direction;
8 for(int i=0; i<10; ++i)
16 gl_Position = position+vec4(step, 0.0, 0.0, 0.0);
21 /* Expected output: vertex
22 layout(location=0) in vec4 position;
23 layout(location=1) in vec3 direction;
26 vec3 p = position.xyz;
28 for(int i=0; i<10; ++i)
35 gl_Position = position+vec4(float(step), 0.0, 0.0, 0.0);