Passive damage is calculated the same as all percent based damage buffs. Only the highest percent is factored in. Pets, passive, elixirs, and skill buffs won't stack but the highest percent will be accounted for.

EG:

5% (passive) + 12% (slag) + 25% (VB) = +25% damage