summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2015-06-22 17:17:56 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2015-06-23 15:36:13 -0700
commit40801295d5a3d747661abb1e2ca64d44c0e3dc05 (patch)
treeeba526d6d0008cef9a3ffbf8e1fd9279b5659445 /src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
parentbcaf4a3f077e3e3fbc66f264fe9124fa920ee70c (diff)
downloadexternal_mesa3d-40801295d5a3d747661abb1e2ca64d44c0e3dc05.zip
external_mesa3d-40801295d5a3d747661abb1e2ca64d44c0e3dc05.tar.gz
external_mesa3d-40801295d5a3d747661abb1e2ca64d44c0e3dc05.tar.bz2
i965: Remove the brw_context from the visitors
As of this commit, nothing actually needs the brw_context. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
index 5368a75..555c42e 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
@@ -191,7 +191,6 @@ vec4_visitor::setup_payload_interference(struct ra_graph *g,
bool
vec4_visitor::reg_allocate()
{
- struct brw_compiler *compiler = brw->intelScreen->compiler;
unsigned int hw_reg_mapping[alloc.count];
int payload_reg_count = this->first_non_payload_grf;