Store log2 depth, instead of the raw depth.