Mesa (master): i965: Remove an unused variable.

Carl Worth cworth at kemper.freedesktop.org
Wed Jul 21 20:29:41 UTC 2010


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

Author: Carl Worth <cworth at cworth.org>
Date:   Wed Jul 21 13:17:22 2010 -0700

i965: Remove an unused variable.

To quiet a compiler warning.

---

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

diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 2c18113..7894417 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -1297,7 +1297,6 @@ static void emit_vertex_write( struct brw_vs_compile *c)
    struct brw_compile *p = &c->func;
    struct brw_context *brw = p->brw;
    struct intel_context *intel = &brw->intel;
-   struct brw_reg m0 = brw_message_reg(0);
    struct brw_reg pos = c->regs[PROGRAM_OUTPUT][VERT_RESULT_HPOS];
    struct brw_reg ndc;
    int eot;




More information about the mesa-commit mailing list