Henri Verbeet : wined3d: Store the wined3d patch vertex count in the wined3d state structure.