]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/function_inline.glsl
Fix a bug in makefont.py if no ranges are given
[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 /* Expected output: vertex
13 layout(location=0) in vec4 position;
14 void main()
15 {
16         gl_Position = position;
17 }
18 */