summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-06-01 12:22:01 -0700
committerKenneth Graunke <[email protected]>2017-06-01 14:28:12 -0700
commitfe14a9a50140d7b2e25052823efa671bf8d63d71 (patch)
tree895d35dff21ed09cd44d42fa8e98a96842c4d0b2 /src/intel/compiler/brw_fs.cpp
parentce5e83b8a0c757072075e781a090d35d9dc0e285 (diff)
i965: Drop duplicate shadow variable.
We already initialized this at the top of the function. Trivial.
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
-rw-r--r--src/intel/compiler/brw_fs.cpp1
1 files changed, 0 insertions, 1 deletions
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);