Yes, the legacy version is known not to run well on phones. The GMS2 one is basically a complete rewrite that should work better across the board.
So I've updated to version 1.3.2 (GMS2, 2.3.7.476) and I'm running your shader on 1080x1920 to get it to work fullscreen (on a Moto G6 phone). The game runs on a steady 60 fps, yet when your shader is enabled it drops to around 27 - 30 fps. Is there a way to improve the framerate? Maybe by reducing the render resolution or quality or something in those lines? On Windows the FPS rocks a steady 60 with your shader enabled.