Henri Verbeet : wined3d: Keep vertex declaration references in the stateblock.