gallium: silence warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 3 Sep 2008 19:32:09 +0000 (13:32 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 3 Sep 2008 19:35:06 +0000 (13:35 -0600)
src/gallium/auxiliary/translate/translate_generic.c

index 4d336f47ea38c60364032bd2eeed0ce3c13e969c..8d39b64c6c1106dfaae69435a627196fcad0fc07 100644 (file)
@@ -415,6 +415,12 @@ static fetch_func get_fetch_func( enum pipe_format format )
 
 static emit_func get_emit_func( enum pipe_format format )
 {
+   /* silence warnings */
+   (void) emit_R32G32B32A32_FIXED;
+   (void) emit_R32G32B32_FIXED;
+   (void) emit_R32G32_FIXED;
+   (void) emit_R32_FIXED;
+
    switch (format) {
    case PIPE_FORMAT_R64_FLOAT:
       return &emit_R64_FLOAT;