Yes, they will receive at least part of the commission, unless they are a Flat Fee MLS Broker who took their fee up front.
However, if they show you the house, and then you come back later to the same house with a different Agent, or you write an offer on it with Another Agent,
the Brokers might get into a "Procuring Cause" issue among themselves.
But that will not concern you, unless again you have signed some sort of Brokerage Agreement obligating you to work with or pay a commission to a particular Real Estate Broker.
RULE OF THUMB:
Never purchase a home direct from bank, builder, for sale by owner, or listing agent UNLESS you have your own agent representing you. EXAMPLE: would you go to trial using defendant's attorney. Probably not
National Featured Realtor and Consultant, Mortgage Loan Officer, Credit Repair Lecturer