Henri Verbeet : wined3d: Use local reg_maps variables where possible.