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