i965: Clean up double initialization of dst_flags from a rebase resolve.
authorEric Anholt <eric@anholt.net>
Wed, 23 Dec 2009 01:18:03 +0000 (17:18 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 26 Dec 2009 19:18:02 +0000 (11:18 -0800)
Caught by clang.

src/mesa/drivers/dri/i965/brw_wm_glsl.c

index f294387c8083ec70b2d28b0bab628daa57910111..43646528f5f0e705c25c291aad3b145c7ba72aca 100644 (file)
@@ -1877,10 +1877,6 @@ static void brw_wm_emit_glsl(struct brw_context *brw, struct brw_wm_compile *c)
        else
            brw_set_conditionalmod(p, BRW_CONDITIONAL_NONE);
 
-       dst_flags = inst->DstReg.WriteMask;
-       if (inst->SaturateMode == SATURATE_ZERO_ONE)
-           dst_flags |= SATURATE;
-
        switch (inst->Opcode) {
            case WM_PIXELXY:
                emit_pixel_xy(c, dst, dst_flags);