Adding an IP address to a switch is for inband management only. And yes, you would have to add IP addresses to route vlans.
It is what it is!!
__________________________________
A+, Net+, I-Net+, Certified Web Master, MCP, MCSA, MCSE, CCNA, CCDA, and few others (I got bored one day)