components |= VB_HAS_NRM0;
    if (m_VtxAttr.NormalElements == 1)
        components |= VB_HAS_NRM1 | VB_HAS_NRM2

I think stuffing everything together just to have it in a single line isn't worth it.