3 #pragma MSP stage(vertex)
4 layout(location=0) in vec4 position;
9 vec4 transform_position(vec4 pos)
15 gl_Position = transform_position(get_position());
18 /* Expected output: vertex
19 layout(location=0) uniform mat4 mvp;
20 layout(location=0) in vec4 position;
23 gl_Position = mvp*position;