From: Kenneth Graunke Date: Tue, 6 Dec 2016 10:50:21 +0000 (-0800) Subject: i965: Drop redundant key->outputs_written initialization. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9871bde351103848f1c18a52e5d56e4b989197e8;p=mesa.git i965: Drop redundant key->outputs_written initialization. This was already set to the same value earlier. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_tcs.c b/src/mesa/drivers/dri/i965/brw_tcs.c index 95926dbe1a6..76cd0a5e3c2 100644 --- a/src/mesa/drivers/dri/i965/brw_tcs.c +++ b/src/mesa/drivers/dri/i965/brw_tcs.c @@ -344,8 +344,6 @@ brw_tcs_populate_key(struct brw_context *brw, /* _NEW_TEXTURE */ brw_populate_sampler_prog_key_data(&brw->ctx, &tcp->program, &key->tex); - } else { - key->outputs_written = tes_prog->info.inputs_read; } }