Kendrick Lamar's streak of cool performances continued with a trip to his hometown of Compton ... where he was shooting a music video at a swap meet.
Lamar's video could be legendary -- and not just for the music. Compton Mayor Aja Brown tells TMZ the lot was recently sold to a developer who plans to use it for a retail store ... so Lamar's shoot could be the last one there.
Brown added she's proud Kendrick's hasn't forgotten his roots ... and frequently comes back to Compton to support the community.
Earlier this week, Kendrick played a show on the back of a moving flatbed truck. He's on a roll.