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);
19 /* Expected output: vertex
20 layout(location=0) in vec4 position;
21 layout(location=1) in vec3 direction;
24 vec3 p = position.xyz;
26 for(int i=0; i<10; ++i)
33 gl_Position = position+vec4(float(step), 0.0, 0.0, 0.0);