wined3d: Move shader constant affecting states to the misc pipeline.