Józef Kucia : wined3d: Call shader_set_function() separately from shader_init().