[PATCH 2/5] wined3d: Store the wined3d patch vertex count in the wined3d state structure.