OSDN Git Service

mesa: try RGBA_FLOAT16 before RGBA_FLOAT32 when choosing A,L,LA,I formats
authorBrian Paul <brianp@vmware.com>
Mon, 16 Jan 2012 17:08:08 +0000 (10:08 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Jan 2012 17:44:05 +0000 (10:44 -0700)
commit1d7048f12e7e2e8f42d27aa665f7134f8f10cf4e
treef1c0aa6ba783202aaa32e238bd37e77ef52c6654
parent7628696004515074594d4fdac4e422c81c86b32c
mesa: try RGBA_FLOAT16 before RGBA_FLOAT32 when choosing A,L,LA,I formats

To try to use less tex memory and maybe get better performance.
Spotted by Roland Scheidegger.

NOTE: This is a candidate for the 8.0 and 7.11 branches.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/texformat.c