I can't make a single shader run in Processing

Sounds like it might be related to being a Mac. I don’t know anything about that. Try re-posting your question mentioning Mac M1 in the title to get the attention of people who use that hardware.