]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/unused_function_removal.glsl
Resolve function calls where argument types need to be converted
[libs/gl.git] / tests / glsl / unused_function_removal.glsl
1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
3 float func()
4 {
5         return 3.0;
6 }
7 void main()
8 {
9         gl_Position = position;
10 }
11
12 /* Expected output: vertex
13 layout(location=0) in vec4 position;
14 void main()
15 {
16         gl_Position = position;
17 }
18 */