Matteo Bruni : wined3d: Use a lookup table to select the sampler function name.