From fe14a9a50140d7b2e25052823efa671bf8d63d71 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 1 Jun 2017 12:22:01 -0700 Subject: [PATCH] i965: Drop duplicate shadow variable. We already initialized this at the top of the function. Trivial. --- src/intel/compiler/brw_fs.cpp | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2