wined3d: Depend on the vertex shader state instead of the vertex declaration state...