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 s_1 = scale*2.0;
22 gl_Position = position*s_1*s_1*s*s;