#pragma MSP stage(vertex) layout(location=0) in vec4 vertex; void main() { gl_Position = vertex; out vec2 texcoord = vertex.xy*0.5+0.5; passthrough; }