fix warnings related to double -> float conversion and removed vblend_mask function as it requires a compile-time constant mask and is not used