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);
26 /* Expected output: vertex
27 layout(location=0) in vec4 position;
30 gl_Position = position;
34 /* Expected output: fragment
35 layout(set=0, binding=65) uniform Lighting
39 layout(set=0, binding=56) uniform Params
43 layout(location=0) out vec4 frag_color;
46 frag_color = vec4(light_color[light_index], 1.0);