Why are there two versions of some shaders?

The mix, switch and ray_switch shaders have been split up into two shaders. One for switching between shaders and the other for switching between texture colors respectively.