From: Eric Anholt Date: Wed, 23 Dec 2009 01:18:03 +0000 (-0800) Subject: i965: Clean up double initialization of dst_flags from a rebase resolve. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c196a3592a73bfe11db5100a9ba1aff07fb8a60e;p=mesa.git i965: Clean up double initialization of dst_flags from a rebase resolve. Caught by clang. --- diff --git a/src/mesa/drivers/dri/i965/brw_wm_glsl.c b/src/mesa/drivers/dri/i965/brw_wm_glsl.c index f294387c808..43646528f5f 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_glsl.c +++ b/src/mesa/drivers/dri/i965/brw_wm_glsl.c @@ -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);