1 2 3 4 5 6 7 8
#extension GL_ARB_explicit_attrib_location: require layout(location = 0) in vec4 vertex; vec4 function(void) { return vec4(1.0); }