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

Is it rude to ask what’s for dinner before accepting their 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?