3 #pragma MSP stage(vertex)
4 layout(location=0) in vec4 position;
7 gl_Position = mvp*position;
9 gl_Position = position;
12 /* Expected diagnostic:
13 <test>:9: Unreachable code detected
16 /* Expected output: vertex
17 layout(location=0) uniform mat4 mvp;
18 layout(location=0) in vec4 position;
21 gl_Position = mvp*position;