Henri Verbeet : wined3d: Move some common shader functions to the IWineD3DBaseShader interface.