Matteo Bruni : wined3d: Optimize scanning changed sampler states in wined3d_device_apply_stateblock().