mesa/texformat: add integer fallbacks to other formats
authorDave Airlie <airlied@redhat.com>
Wed, 5 Oct 2011 18:21:32 +0000 (19:21 +0100)
committerDave Airlie <airlied@redhat.com>
Sat, 8 Oct 2011 16:44:59 +0000 (17:44 +0100)
commitc2060c0af7de4678d55962369244451fe678c4e8
tree8417427ec18058f12f9ec54db6955e069712672a
parent8f9edbad6f972792a51234715aad83c406e1845d
mesa/texformat: add integer fallbacks to other formats

This fixes up the integer format choosing to pick the closest mesa format
then the most likely fallback.

(the formatting in this file needs cleaning in another patch).

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/texformat.c