Mesa (gallium-0.2): draw: silence some warnings

Keith Whitwell keithw at kemper.freedesktop.org
Tue Jan 27 11:17:04 UTC 2009


Module: Mesa
Branch: gallium-0.2
Commit: 27e5097e2aa6ee2b9cc8dbc5129fa7f4c8eb283c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27e5097e2aa6ee2b9cc8dbc5129fa7f4c8eb283c

Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Tue Jan 27 11:15:42 2009 +0000

draw: silence some warnings

---

 src/gallium/auxiliary/draw/draw_vs_aos.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_vs_aos.c b/src/gallium/auxiliary/draw/draw_vs_aos.c
index e0923a8..6817f29 100644
--- a/src/gallium/auxiliary/draw/draw_vs_aos.c
+++ b/src/gallium/auxiliary/draw/draw_vs_aos.c
@@ -871,7 +871,7 @@ static void set_fpu_round_nearest( struct aos_compilation *cp )
    }
 }
 
-
+#if 0
 static void x87_emit_ex2( struct aos_compilation *cp )
 {
    struct x86_reg st0 = x86_make_reg(file_x87, 0);
@@ -894,12 +894,15 @@ static void x87_emit_ex2( struct aos_compilation *cp )
    assert( stack == cp->func->x87_stack);
       
 }
+#endif
 
+#if 0
 static void PIPE_CDECL print_reg( const char *msg,
                                   const float *reg )
 {
    debug_printf("%s: %f %f %f %f\n", msg, reg[0], reg[1], reg[2], reg[3]);
 }
+#endif
 
 #if 0
 static void emit_print( struct aos_compilation *cp,




More information about the mesa-commit mailing list