i965: Support MESA_FORMAT_SIGNED_RGBA_16.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 9 Jun 2012 09:33:22 +0000 (02:33 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Jul 2012 16:35:58 +0000 (09:35 -0700)
commitf56dfc32134d65599159f53215713bf372c51a13
tree2336afc6a1b06a6afbac69bfbae051d323f8f0c5
parente7a4a2b18b9803c7b59968519c78c9fff4d521e6
i965: Support MESA_FORMAT_SIGNED_RGBA_16.

The hardware supports this format with no known quirks, so we may as
well enable it.

Alpha blending is not supported until Sandybridge, but as far as I can
tell, OpenGL doesn't require alpha blending on SNORM formats.  Plus, we
already expose R8G8B8A8_SNORM which has a similar restriction.

Fixes 6 piglit texwrap-2D-*SNORM* cases,
gl-3.1/required-sized-texture-formats, and 10 oglconform snorm-textures
subcases

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c