#pragma MSP stage(vertex) layout(location=0) in vec4 position; layout(location=0) in vec2 texcoords[3]; layout(location=2) in vec4 color; void main() { gl_Position = position; } /* Expected error: :3: Overlapping location 0 for 'in texcoords' :2: Previously used here for 'in position' :4: Overlapping location 2 for 'in color' :3: Previously used here for 'in texcoords' */