Use a seperate dirty flag for clip depth.