samplemask
SampleMask determines which samples are updated in the render-target. It's a bit-mask, each bit corresponds to a pixel's sample.
For example, in MSAAx4, you can set the sample mask to 0x1, then only the first sample will be updated.
GPUs will usually cull the pixel in the rasterizer...