Does it make sense to have differently shaped buttons together?

Generally, buttons shown together are also visually similar.

Are there situations where it might make sense to show together buttons of different shapes? E.g. a rounded rectangle button together with a circular button?

As a crude example to analyze, here is a sketch. enter image description here