Perhaps it’s different on the 787, but on the 737 the VSD uses “inertial altitude”, which enables the detection of incorrect altimeter setting via the position of the runway above or below the terrain.
You’d probably have to contact Boeing for a more accurate definition, but I would guess it’s a mix of IRS and GPS altitude data.