util: put vertices_per_primitive function in its proper location
4 files changed