Assign locations for attribs and frag data