]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/unused_variable_removal.glsl
a295dc70b9f2989346a4b356a7bc836ad0a1be58
[libs/gl.git] / tests / glsl / unused_variable_removal.glsl
1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
3 layout(location=1) in vec4 color;
4 void main()
5 {
6         out vec2 texcoord = position.xy*0.5+0.5;
7         gl_Position = position;
8 }
9
10 /* Expected output: vertex
11 layout(location=0) in vec4 position;
12 void main()
13 {
14         gl_Position = position;
15 }
16 */