3 #pragma MSP stage(vertex)
4 layout(location=0) in vec4 position;
5 vec4 transform_position(vec4 p)
11 gl_Position = transform_position(position);
14 /* Expected output: vertex
15 layout(location=0) uniform mat4 mvp;
16 layout(location=0) in vec4 position;
19 gl_Position = mvp*position;