]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/redundant_gl_position.glsl
Add a unit test framework and some tests for the GLSL compiler
[libs/gl.git] / tests / glsl / redundant_gl_position.glsl
1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
3 void main()
4 {
5         gl_Position = position;
6         gl_Position = position;
7 }
8
9 /* Expected output: vertex
10 layout(location=0) in vec4 position;
11 void main()
12 {
13         gl_Position = position;
14 }
15 */