i965: Fix an unused variable warning in the release build.
authorEric Anholt <eric@anholt.net>
Thu, 11 Apr 2013 17:33:00 +0000 (10:33 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 12 Apr 2013 23:32:13 +0000 (16:32 -0700)
It's used in an assert, but we have this as a member of the class anyway.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 516bf918175cc68e20648f1606af34f83370e2ae..b82add9739d2a5011873bc00af9cc379f9f3ec43 100644 (file)
@@ -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;