From: Kenneth Graunke Date: Thu, 1 Jun 2017 19:22:01 +0000 (-0700) Subject: i965: Drop duplicate shadow variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe14a9a50140d7b2e25052823efa671bf8d63d71;p=mesa.git i965: Drop duplicate shadow variable. We already initialized this at the top of the function. Trivial. --- diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 329c15b8b0b..90a650add07 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -2121,7 +2121,6 @@ fs_visitor::lower_constant_loads() assert(inst->src[i].stride == 0); - const unsigned index = stage_prog_data->binding_table.pull_constants_start; const unsigned block_sz = 64; /* Fetch one cacheline at a time. */ const fs_builder ubld = ibld.exec_all().group(block_sz / 4, 0); const fs_reg dst = ubld.vgrf(BRW_REGISTER_TYPE_UD);