A peridotite is a hard and rough igneous rock , made up mostly of the minerals olivine and pyroxene . A peridotite is a dense , coarse-grained igneous rock , consisting mostly of the minerals olivine and pyroxene .