1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
3 vec2 scale(vec2 v, float s)
9 gl_Position = vec4(scale(position.xy, 2), 0.0, 1.0);
12 /* Expected output: vertex
13 layout(location=0) in vec4 position;
16 gl_Position = vec4(position.xy*2.0, 0.0, 1.0);