Mesa (master): i965: Delete unused variable.

Kenneth Graunke kwg at kemper.freedesktop.org
Sat Nov 19 21:30:15 UTC 2016


Module: Mesa
Branch: master
Commit: 45aee6be027805a6e51f2da7e9b7c954135f549d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45aee6be027805a6e51f2da7e9b7c954135f549d

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Nov 19 12:29:01 2016 -0800

i965: Delete unused variable.

I forgot to delete this in 9ef2b9277d3bead6dbfa47e95794ca61e8be4e84.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/gen7_urb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/gen7_urb.c b/src/mesa/drivers/dri/i965/gen7_urb.c
index 18474df..028161d 100644
--- a/src/mesa/drivers/dri/i965/gen7_urb.c
+++ b/src/mesa/drivers/dri/i965/gen7_urb.c
@@ -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] =




More information about the mesa-commit mailing list