Stefan Dösinger : wined3d: Store state optmization members in the context.