OSDN Git Service

mesa: reorder MESA_FORMAT enums
authorBrian Paul <brianp@vmware.com>
Sun, 9 Mar 2014 01:19:21 +0000 (18:19 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Mar 2014 22:11:50 +0000 (16:11 -0600)
commit9b5fff2dd70fcc971f342a7dd31e390f0447978b
treeb5a10035177ff5dba2dd6650fa6e57050ceba12f
parent10738727aeb723b0c0cea306a877229961b3e4a0
mesa: reorder MESA_FORMAT enums

The MESA_FORMAT_x enums in formats.h weren't declared in any sort
of reasonable order.  Now it should be a little more logical.
This also required reordering tables in formats.c and s_texfetch.c

Reviewed-by: Michel Dänzer <michel@daenzer.net>
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/main/formats.c
src/mesa/main/formats.h
src/mesa/swrast/s_texfetch.c
src/mesa/swrast/s_texfetch_tmp.h