1 const bool use_color = false;
3 #pragma MSP stage(vertex)
4 layout(location=0) in vec4 position;
5 layout(location=1) in vec4 color;
8 gl_Position = position;
12 #pragma MSP stage(fragment)
13 layout(location=0) out vec4 frag_color;
19 frag_color = vec4(1.0);
22 /* Expected output: vertex
23 layout(location=0) in vec4 position;
26 gl_Position = position;
30 /* Expected output: fragment
31 layout(location=0) out vec4 frag_color;
34 frag_color = vec4(1.0);