Gneiss is a coarse crystalline rock with composition of granite or diorite, but of metamorphic rather than igneous origin.