H. Verbeet : wined3d: D3d8 shaders can have a NULL pFunction, but a valid vertex declaration.