MSAA and discard_fragment()

It seems that calling discard_fragment() into a fragment shader on one sample through MSAA conditions, discards all the other samples of the pixel. That looks quite logical.


But, as I didn't see any discard_sample() equivalent, is there any common method to bypass this problem, if I need for example an AA result based on the non discarded samples ?

MSAA and discard_fragment()
 
 
Q