Mesa (gallium-0.2): draw: queiten compiler warnings

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


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

Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Mon Jan 26 12:42:23 2009 +0000

draw: queiten compiler 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 6141ba9..e0923a8 100644
--- a/src/gallium/auxiliary/draw/draw_vs_aos.c
+++ b/src/gallium/auxiliary/draw/draw_vs_aos.c
@@ -901,6 +901,7 @@ static void PIPE_CDECL print_reg( const char *msg,
    debug_printf("%s: %f %f %f %f\n", msg, reg[0], reg[1], reg[2], reg[3]);
 }
 
+#if 0
 static void emit_print( struct aos_compilation *cp,
                         const char *message, /* must point to a static string! */
                         unsigned file,
@@ -952,6 +953,7 @@ static void emit_print( struct aos_compilation *cp,
    /* Done... 
     */
 }
+#endif
 
 /**
  * The traditional instructions.  All operate on internal registers
@@ -1090,7 +1092,7 @@ static boolean emit_LG2( struct aos_compilation *cp, const struct tgsi_full_inst
    return TRUE;
 }
 
-
+#if 0
 static boolean emit_EX2( struct aos_compilation *cp, const struct tgsi_full_instruction *op ) 
 {
    x87_fld_src(cp, &op->FullSrcRegisters[0], 0);
@@ -1098,6 +1100,7 @@ static boolean emit_EX2( struct aos_compilation *cp, const struct tgsi_full_inst
    x87_fstp_dest4(cp, &op->FullDstRegisters[0]);
    return TRUE;
 }
+#endif
 
 
 static boolean emit_FLR( struct aos_compilation *cp, const struct tgsi_full_instruction *op ) 




More information about the mesa-commit mailing list