]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/function_inline_reorder.glsl
Check the flat qualifier from the correct member
[libs/gl.git] / tests / glsl / function_inline_reorder.glsl
1 #pragma MSP stage(vertex)
2 vec4 func();
3 void main()
4 {
5         gl_Position = func();
6 }
7 layout(location=0) in vec4 position;
8 vec4 func()
9 {
10         return position;
11 }
12
13 // Target API: Vulkan
14
15 /* Expected output: vertex
16 layout(location=0) in vec4 position;
17 void main()
18 {
19         gl_Position = position;
20 }
21 */