(assuming you're using an old version of the GL. N...
# getting-started
s
(assuming you're using an old version of the GL. Newer versions you explicitly specify layout location in shader source)