lua.glslang.lint_gles2
verr,ferr = glslang.lint_gles2(vcode,fcode)
Try and compile a vertex/fragment shader pair and return any errors.
returns nil,nil on success or an error string if either shader fails to compile.
Note that the glslang compile step seems rather slow, not sure what it gets up to but do not consider using this if speed is important.