1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
11 vs_out.texcoord = position.xy*0.5+0.5;
12 gl_Position = position;
15 #pragma MSP stage(geometry)
17 layout(triangle_strip, max_vertices=3) out;
32 for(int i=0; i<3; ++i)
34 gs_out.texcoord = vs_out[i].texcoord;
35 gl_Position = gl_in[i].gl_Position;
41 <test>:7: Multiple definition of 'Output'
42 <test>:3: Previous definition is here
43 <test>:8: Multiple definition of 'Output'
44 <test>:3: Previous definition is here
45 <test>:26: Multiple definition of interface block 'out Output'
46 <test>:22: Previous definition is here