getAttribLocation, and track and allocate attributes in worker