diff options
author | Brian Paul <[email protected]> | 2008-09-03 13:32:09 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-03 13:35:06 -0600 |
commit | a563a27c07eee9f0278c8473e27853fa2d1ad119 (patch) | |
tree | b086f0cffc7bcaee990f13bd2d906cdfc25e8932 /src/gallium/auxiliary/translate/translate_generic.c | |
parent | 6c84652dc3877593b8b151366521289833707b40 (diff) |
gallium: silence warnings
Diffstat (limited to 'src/gallium/auxiliary/translate/translate_generic.c')
-rw-r--r-- | src/gallium/auxiliary/translate/translate_generic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/translate/translate_generic.c b/src/gallium/auxiliary/translate/translate_generic.c index 4d336f47ea3..8d39b64c6c1 100644 --- a/src/gallium/auxiliary/translate/translate_generic.c +++ b/src/gallium/auxiliary/translate/translate_generic.c @@ -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; |