Is it possible to use Mask material only Z pass on mobile in project settings?

Is it possible to use Mask material only Z pass on mobile in project settings?

For Desktop it improves performance of foliage a lot.

if you have found a answer please tell.