Revert "Revert "depth compute""

This reverts commit ad7a738b61f7f5ae2ee06d7357d3bc9abf2fa844.