save max_vertex_attribs