reorganization of shader/vertex management