]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/function_inline.glsl
Check the flat qualifier from the correct member
[libs/gl.git] / tests / glsl / function_inline.glsl
1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
3 vec4 func()
4 {
5         return position;
6 }
7 void main()
8 {
9         gl_Position = func();
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 */