For a Swashbuckler with class features like
Panache
Each time the swashbuckler confirms a critical hit with a light or one-handed piercing melee weapon...
Menacing Swordplay
...when a swashbuckler hits an opponent with a light or one-handed piercing melee weapon,...
Does changing the type of damage dealt (for instance, with the feat Weapon Versatility "your weapon deals bludgeoning, piercing, or slashing damage instead of the damage type normally dealt by that weapon") change the type of weapon in use, or does weapon type =/= damage type?