wined3d: Make all the local shader functions static.