Primary porosity, usually granular, is the porosity developed by the original sedimentation process by which the rock was created.