Stefan Dösinger : wined3d: Do not try to read the vertex decl when the stateblock isn't finalized.