summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-06-04 15:44:58 -0700
committerKenneth Graunke <kenneth@whitecape.org>2012-08-29 20:46:51 -0700
commit83933606596a0197e6cd1740cb439eaf055e544d (patch)
treefc5347bc7152d9dc603a4572121bb741024c06fb
parent6928bea7ca1f2ed308d8255c6816f44467306255 (diff)
downloadexternal_mesa3d-83933606596a0197e6cd1740cb439eaf055e544d.zip
external_mesa3d-83933606596a0197e6cd1740cb439eaf055e544d.tar.gz
external_mesa3d-83933606596a0197e6cd1740cb439eaf055e544d.tar.bz2
i965/fs: Remove a dead member from live variables analysis.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp1
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_live_variables.h5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
index 40877c9..16480ad 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
@@ -139,7 +139,6 @@ fs_live_variables::fs_live_variables(fs_visitor *v, fs_cfg *cfg)
num_vars = v->virtual_grf_count;
bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks);
- vars = rzalloc_array(mem_ctx, struct var, num_vars);
for (int i = 0; i < cfg->num_blocks; i++) {
bd[i].def = rzalloc_array(mem_ctx, bool, num_vars);
diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.h b/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
index 17e7553..065f313 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
+++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
@@ -72,11 +72,6 @@ public:
fs_cfg *cfg;
void *mem_ctx;
- struct var {
- int blocknum;
- int instnum;
- fs_inst *inst;
- } *vars;
int num_vars;
/** Per-basic-block information on live variables */