[Mesa-dev] [PATCH 3/3] i965: Support MESA_FORMAT_SIGNED_RGBA_16.
Eric Anholt
eric at anholt.net
Mon Jun 11 17:48:54 CEST 2012
On Sat, 9 Jun 2012 02:33:22 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
> 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.
>
> +10 oglconform snorm-textures subcases
>
> Cc: Eric Anholt <eric at anholt.net>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Right, GL 3.1 core spec page 119 says that the snorms are required only
for texturing, not for rendering, and the EXT_texture_snorm spec doesn't
expect them to be necessarily supported for rendering in the issues.
The brw_wm_surface_state.c table should prevent rendering to both of
these due to the blending limitation when appropriate.
This patch is
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120611/bf2f6637/attachment.pgp>
More information about the mesa-dev
mailing list