OSDN Git Service

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 18474df..028161d 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] =