Is it rude to ask what’s for dinner before accepting someone’s invite?

Is it rude to ask what’s for dinner before accepting someone’s invite?

If someone asks you if you want to come over for dinner, do you think it’s rude to ask what they’re making before accepting or declining?