Henri Verbeet : wined3d: Implement support for per-stage texture stage constants.