[PATCH v2 5/5] wined3d: Translate sampler states to sampler objects in wined3d_device_apply_stateblock().