mesa: update comments, simplify code in vtxfmt.c