mesa: Add fallback from RGB_FLOAT16 to RGBA_FLOAT16 before RGBA_FLOAT32.
authorEric Anholt <eric@anholt.net>
Mon, 7 Nov 2011 02:08:36 +0000 (18:08 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 22 Nov 2011 21:58:38 +0000 (13:58 -0800)
commitbabe26b3efa56f1afd139d5cfecbadb857a43d8f
treecb790fb7465ae70e86d6703aef6921cd95b376bb
parent2d159e6b365f039d9322b59e1538f3d42e8d8d8d
mesa: Add fallback from RGB_FLOAT16 to RGBA_FLOAT16 before RGBA_FLOAT32.

Not all i965 hardware can do RGB float16, and this will at least save
half the memory and have expected behavior in terms of precision.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/texformat.c