Stefan Dösinger : wined3d: Create the state table.