i965: Drop duplicate shadow variable.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Jun 2017 19:22:01 +0000 (12:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Jun 2017 21:28:12 +0000 (14:28 -0700)
We already initialized this at the top of the function.

Trivial.

src/intel/compiler/brw_fs.cpp

index 329c15b8b0bbfd0b52ee805d69b441a09da459f3..90a650add0707c9b97992305e877a0ce501d55a8 100644 (file)
@@ -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);