Be warned: the aliasing of generic attribute locations to legacy built-in attribute locations is undefined. So if you use a layout qualifier (or glBindAttribLocation) it is your responsibility to...