radv/gfx10: determine the number of vertices per primitive for TES