Mesa (master): i965: Remove unused variables after removing the old VS backend.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Nov 1 23:13:52 UTC 2012


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Nov  1 16:12:56 2012 -0700

i965: Remove unused variables after removing the old VS backend.

Fixes compiler warnings about unused variables.

---

 src/mesa/drivers/dri/i965/brw_vs.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c
index a837c44..4466731 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.c
+++ b/src/mesa/drivers/dri/i965/brw_vs.c
@@ -212,13 +212,11 @@ do_vs_prog(struct brw_context *brw,
 	   struct brw_vertex_program *vp,
 	   struct brw_vs_prog_key *key)
 {
-   struct gl_context *ctx = &brw->intel.ctx;
    struct intel_context *intel = &brw->intel;
    GLuint program_size;
    const GLuint *program;
    struct brw_vs_compile c;
    void *mem_ctx;
-   int aux_size;
    int i;
    struct gl_shader *vs = NULL;
 




More information about the mesa-commit mailing list