Depends on the surface material. Ablative materials still work quite well even with irregularities.
*cough cough* Columbia reentry disaster *cough cough*
Ablatives don’t work if there is enough damage.