i965: Add a table of the surface format information from the PRM.
authorEric Anholt <eric@anholt.net>
Tue, 15 Nov 2011 00:58:57 +0000 (16:58 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 22 Nov 2011 21:58:38 +0000 (13:58 -0800)
commite589ebdf23342111587b9ebd0f0dcb2580a2dac2
tree69559993e684048b31c4743dbecb13164b81f492
parent755f0a0a02c5cf3be7e69ad51b411711fcc0bc27
i965: Add a table of the surface format information from the PRM.

This will be used to drive chosing formats and determining framebuffer
completeness, instead of the bunch of ad-hoc checks we have had until
now.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c