H. Verbeet : wined3d: Rewrite shader_glsl_map2gl() to properly take the write mask into account.