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)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Jan 2012 23:39:46 +0000 (15:39 -0800)
commit7a11d201e71cc519f5290bc5e399d65e4d5bb65d
tree96c6be7c90c8a5e89851ab176008736c2b700552
parentdd73100c248341383c9e90c5bb273ac224fc10ac
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>
(cherry picked from commit 1d7048f12e7e2e8f42d27aa665f7134f8f10cf4e)
src/mesa/main/texformat.c