Matteo Bruni : wined3d: Store maximum vertex attributes count.