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 <mattst88@gmail.com>
This commit is contained in:
Eric Anholt 2013-04-11 10:33:00 -07:00
parent 6cec233c62
commit 248175ab3b
1 changed files with 0 additions and 1 deletions

View 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;