use uniform/vert attrib locations stored in shader object