llvmpipe: Implement alpha_to_coverage for non-MSAA framebuffers.
authorSi Chen <sichen@vmware.com>
Wed, 18 Dec 2013 10:17:55 +0000 (02:17 -0800)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 7 Jan 2014 16:04:42 +0000 (16:04 +0000)
commit72c6d0e506ad0e8262dddbc7a7cf2d6813761753
treee05ac43e669da8a3cf09a7631e9fbb0d171623e4
parent2a0fb946e147f5482c93702fbf46ffdf5208f57c
llvmpipe: Implement alpha_to_coverage for non-MSAA framebuffers.

Implement Alpha to Coverage by discarding a fragment alpha component is
less than 0.5.  This is a joint work of Jose and Si.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_bld_blend.c
src/gallium/drivers/llvmpipe/lp_bld_blend.h
src/gallium/drivers/llvmpipe/lp_state_fs.c