summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-04-11 10:33:00 -0700
committerEric Anholt <[email protected]>2013-04-12 16:32:13 -0700
commit248175ab3b90139580f7e9403ac5243d7aeac823 (patch)
tree20227c08c730c8227f22433498bf4922ac768345 /src/mesa/drivers
parent6cec233c62a8f455992036f380f3447f90a2715a (diff)
i965: Fix an unused variable warning in the release build.
It's used in an assert, but we have this as a member of the class anyway. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 516bf918175..b82add9739d 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -2841,7 +2841,6 @@ fs_visitor::get_instruction_generating_reg(fs_inst *start,
void
fs_visitor::setup_payload_gen6()
{
- struct intel_context *intel = &brw->intel;
bool uses_depth =
(fp->Base.InputsRead & (1 << VARYING_SLOT_POS)) != 0;
unsigned barycentric_interp_modes = c->prog_data.barycentric_interp_modes;