Porosity which is present in sediment at the time of deposition or formed during sedimentation. Compare secondary porosity.