How to create a vertical circular progress bar

Hi everyone!
I found a lot about vertical progress bars, many about circular progress bars, but what about a vertical circular progress bar? I am making a port of my game to unity and these are how my bars look like:

See these red circles in the top part of the image. I want to have a possibility to change the progress in a script with even 1% so I don’t want to use any predefined GUI textures with 25%, 50%, 75% and full progress. What should I use to create these?

The solution here will work with the right shader:

Your mask would just be a vertical gradient rather than a circular one.