[Mesa-dev] [PATCH] mesa: fix frag shader generation for alpha test with no color buffers

Eric Anholt eric at anholt.net
Sat Nov 26 19:36:42 PST 2011


On Sat, 26 Nov 2011 08:55:01 -0700, Brian Paul <brianp at vmware.com> wrote:
> If alpha test is enabled and there's no color buffers we still need the
> fragment shader to emit a color.
> 
> v2: add _NEW_COLOR flag in _mesa_update_state_locked()
> 
> Fixes piglit fbo-alphatest-nocolor-ff failures with Gallium drivers.

Reviewed-by: Eric Anholt <eric at anholt.net>
Tested-by: Eric Anholt <eric at anholt.net> (i965)

(Not sure what you're seeing with the i965 driver -- no fbo complaints
here)
-------------- 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/20111126/643f047a/attachment.pgp>


More information about the mesa-dev mailing list