]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/unused_function_removal.glsl
Check the flat qualifier from the correct member
[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 // Target API: Vulkan
13
14 /* Expected output: vertex
15 layout(location=0) in vec4 position;
16 void main()
17 {
18         gl_Position = position;
19 }
20 */