Hardware tesselating pipe

Hi,
I am looking at some informations on howto tesselate a pipe with hardware hlsl shader or hlsl shader usage to achieve it.
Regards,
Stéph