Ivan Gyurdiev : wined3d: Move device pointer into the BaseShader class.