summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-12-23 16:08:53 -0800
committerKenneth Graunke <[email protected]>2014-01-06 10:54:22 -0800
commit7db56ddee07fb365832881e05205d98f281cea80 (patch)
tree84cb448458184e8c9a148e5cf11ae6b52081bd4b
parent242ca9acb4b52e331dbbadc2d1e014e69c0539ad (diff)
i965: Warning fix
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index c6538281b18..c2ca10d54b9 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -108,8 +108,6 @@ unsigned
brw_reg_type_to_hw_type(const struct brw_context *brw,
enum brw_reg_type type, unsigned file)
{
- bool imm = file == BRW_IMMEDIATE_VALUE;
-
if (file == BRW_IMMEDIATE_VALUE) {
const static int imm_hw_types[] = {
[BRW_REGISTER_TYPE_UD] = BRW_HW_REG_TYPE_UD,