glsl: make sure builtins are initialized before getting the shader