On Sat, 9 Jun 2012 02:33:22 -0700, Kenneth Graunke <kenn...@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 <e...@anholt.net> > Signed-off-by: Kenneth Graunke <kenn...@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 <e...@anholt.net>
pgpEDAQsskST2.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev