Stefan Dösinger : wined3d: Move the functionality of primitiveInitState to the state table.