i965: Delete unused variable.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Nov 2016 20:29:01 +0000 (12:29 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Nov 2016 20:30:25 +0000 (12:30 -0800)
I forgot to delete this in 9ef2b9277d3bead6dbfa47e95794ca61e8be4e84.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_urb.c

index 18474dfaf7ef98d75c81ca539ec780220e65d827..028161df395bb5a2d9338224bd7ea277d7b76ac1 100644 (file)
@@ -176,8 +176,6 @@ gen7_upload_urb(struct brw_context *brw, unsigned vs_size,
    const int push_size_kB =
       (brw->gen >= 8 || (brw->is_haswell && brw->gt == 3)) ? 32 : 16;
 
-   const bool active[4] = { true, tess_present, tess_present, gs_present };
-
    /* BRW_NEW_{VS,TCS,TES,GS}_PROG_DATA */
    struct brw_vue_prog_data *prog_data[4] = {
       [MESA_SHADER_VERTEX] =