translate: Make translate_generic truly generic.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 3 May 2010 11:18:55 +0000 (12:18 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 3 May 2010 11:18:55 +0000 (12:18 +0100)
commit4b891234f81d441426a62abcff96720022d2ac3d
treea9637f1b9243267746e5362ada28a4d576beb0ae
parentcaede7528d2afad478c49afb98eb96088e1c41cc
translate: Make translate_generic truly generic.

PIPE_FORMAT_R10G10B10X2_USCALED, half floats, were not supported, so
just rely on u_format for (almost) universal format support.
src/gallium/auxiliary/translate/translate_generic.c