1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
3 layout(location=1) in float scale;
12 gl_Position = position*func()*s*s;
15 /* Expected output: vertex
16 layout(location=0) in vec4 position;
17 layout(location=1) in float scale;
21 float _func_s = scale*2.0;
22 gl_Position = position*_func_s*_func_s*s*s;