void main() { attribute float foo; // attributes can be declared at global scope in vertex shader only }