wined3d: Pass a wined3d_state structure to use_ps().