glsl/standalone: add GLES3.1 and GLES3.2 compatibility