Almost all of the landforms in the Yosemite area are cut from the granitic rock of the Sierra Nevada Batholith (a batholith is a large mass of intrusive igneous rock that formed deep below the surface) [REF].
Erosion acting upon different types of uplift-created joint and fracture systems is responsible for creating the valleys, canyons, domes, and other features we see today.