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