What primarily influences the composition of an igneous rock?
Explanation
The composition of an igneous rock is mainly controlled by the chemical composition of the molten magma from which it crystallizes. While depth can influence conditions, the magma's chemistry directly determines the rock's mineral content and overall composition.