i965: Put common info on converting MESA_FORMAT to BRW_FORMAT in a table.
authorEric Anholt <eric@anholt.net>
Fri, 10 Dec 2010 21:09:55 +0000 (13:09 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 11 Dec 2010 00:17:01 +0000 (16:17 -0800)
commit783e7caadf945f176cb297b8791769e2855fc9ef
tree3e1245ed3080580e6207a55dfdf121ab867dcedc
parentbe72efb4f29180fdaf0935f8739f230fe5ea6317
i965: Put common info on converting MESA_FORMAT to BRW_FORMAT in a table.

There are exceptions to the table for depth texturing or rendering to
not-quite-supported formats thanks to the non-orthogonal component
selection for surface formats, but it's still a lot simpler.
src/mesa/drivers/dri/i965/brw_wm_surface_state.c