]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/dead_code.glsl
bdfd4503c521c04ebc706deb4eb31b741499855f
[libs/gl.git] / tests / glsl / dead_code.glsl
1 uniform mat4 mvp;
2
3 #pragma MSP stage(vertex)
4 layout(location=0) in vec4 position;
5 void main()
6 {
7         gl_Position = mvp*position;
8         return;
9         gl_Position = position;
10 }
11
12 /* Expected output: vertex
13 layout(location=0) uniform mat4 mvp;
14 layout(location=0) in vec4 position;
15 void main()
16 {
17         gl_Position = mvp*position;
18         return;
19 }
20 */