i965: Add support for ARGB2101010 rendering.
authorEric Anholt <eric@anholt.net>
Wed, 16 Nov 2011 00:53:48 +0000 (16:53 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 22 Nov 2011 21:58:39 +0000 (13:58 -0800)
commitf8b13ba1374bd4369ad85f7f2becec375f0b66ad
tree1ea34aab3c042e1bd5eaa5864f3a2a78ac20ab06
parentb0a0f4bf14fbaa7df02db1d2057b287bfbea3347
i965: Add support for ARGB2101010 rendering.

GL 3.0 specifies GL_RGB10_A2 as a required sized format for rendering
and texturing.

This introduces two piglit regressions: one due to fbo-mipmap-copypix
hitting swrast GetRow (we want to convert swrast to MapRenderbuffer),
and one due to fbo-blending-formats being too picky while leaving
dithering on.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c