Minor formatting fixes to attribute types and vertex format macro