Perimeter from gpu?

is it possible to readback a contour perimetrer from a shader ?

For sure something is possible, but I think there was a thread about this previously, where Vux said that it’s basically a better job for the cpu