H. Verbeet : wined3d: Keep track of what stage a texturing unit is mapped to.