glsl: add temporary copy_shader_info() function