translate: Fix the fetch function assertions.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 21 Nov 2012 16:17:22 +0000 (16:17 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 4 Dec 2012 19:35:19 +0000 (19:35 +0000)
commita416a4a91dd167f9f018932b0a1c7045bfc08bd8
treeb79491f349d8e2b7f1807118118883a600d4d8b2
parent4da0cb83ab6d82ba3cf011bb3b9b012bd27f7bfc
translate: Fix the fetch function assertions.

fetch_rgba_float is NULL for integer formats, and vice-versa.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/translate/translate_generic.c