Mesa (master): i965: Drop duplicate shadow variable.
Kenneth Graunke
kwg at kemper.freedesktop.org
Thu Jun 1 21:28:17 UTC 2017
Module: Mesa
Branch: master
Commit: fe14a9a50140d7b2e25052823efa671bf8d63d71
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe14a9a50140d7b2e25052823efa671bf8d63d71
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Jun 1 12:22:01 2017 -0700
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 329c15b8b0..90a650add0 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);
More information about the mesa-commit
mailing list