10 #pragma MSP stage(vertex)
11 layout(location=0) in vec4 position;
14 gl_Position = position;
17 #pragma MSP stage(fragment)
18 layout(location=0) out vec4 frag_color;
21 frag_color = vec4(light_color[light_index], 1.0);
24 /* Expected output: vertex
25 layout(location=0) in vec4 position;
28 gl_Position = position;
32 /* Expected output: fragment
33 layout(binding=5) uniform Lighting
37 layout(binding=80) uniform Params
41 layout(location=0) out vec4 frag_color;
44 frag_color = vec4(light_color[light_index], 1.0);