Józef Kucia : wined3d: Introduce wined3d_device_get_sampler() helper function.