Mesa (master): i965g: ifdef out unused functions.

Vinson Lee vlee at kemper.freedesktop.org
Thu Feb 11 03:03:50 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Feb 10 19:01:05 2010 -0800

i965g: ifdef out unused functions.

---

 src/gallium/drivers/i965/brw_swtnl.c   |    6 +++---
 src/gallium/drivers/i965/brw_vs_emit.c |    3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/i965/brw_swtnl.c b/src/gallium/drivers/i965/brw_swtnl.c
index 464013e..f96301e 100644
--- a/src/gallium/drivers/i965/brw_swtnl.c
+++ b/src/gallium/drivers/i965/brw_swtnl.c
@@ -3,6 +3,8 @@
 #include "brw_pipe_rast.h"
 
 
+#if 0
+
 static GLboolean need_swtnl( struct brw_context *brw )
 {
    const struct pipe_rasterizer_state *rast = &brw->curr.rast->templ;
@@ -90,6 +92,4 @@ static GLboolean need_swtnl( struct brw_context *brw )
    return FALSE;
 }
 
-
-
-
+#endif
diff --git a/src/gallium/drivers/i965/brw_vs_emit.c b/src/gallium/drivers/i965/brw_vs_emit.c
index 8a16205..5dcbd59 100644
--- a/src/gallium/drivers/i965/brw_vs_emit.c
+++ b/src/gallium/drivers/i965/brw_vs_emit.c
@@ -908,6 +908,7 @@ get_constant(struct brw_vs_compile *c,
 }
 
 
+#if 0
 
 /* TODO: relative addressing!
  */
@@ -936,6 +937,8 @@ static struct brw_reg get_reg( struct brw_vs_compile *c,
    }
 }
 
+#endif
+
 
 /**
  * Indirect addressing:  get reg[[arg] + offset].




More information about the mesa-commit mailing list