Stefan Dösinger : wined3d: Move applying shader constants to the state table.