void vrend_set_sample_mask(struct vrend_context *ctx, unsigned sample_mask)
{
   glSampleMaski(0, sample_mask);
}

The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.