glsl: check if any of the named builtins are available first