mesa/src
Kenneth Graunke 86e401b771 i965: Always emit alpha when nr_color_buffers == 0.
If alpha-testing is enabled, we need to send alpha down the pipeline
even if nr_color_buffers == 0.  However, tracking whether alpha-testing
is enabled in the WM program key is expensive: it causes us to compile
multiple specializations of the same shader, using program cache space.

This patch removes the check for alpha-testing, and simply emits alpha
whenever nr_color_buffers == 0.  We believe this will also be necessary
for alpha-to-coverage, and it should add minimal overhead to an uncommon
case.  Saving the recompiles should more than make up the difference.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2012-07-12 13:35:46 -07:00
..
egl egl: Add EGL_WAYLAND_PLANE_WL attribute 2012-07-11 15:28:36 -04:00
gallium gallivm: Use %.9g to print floats. 2012-07-12 21:14:35 +01:00
gbm gbm: Add gbm_bo_write entry point 2012-05-03 10:57:32 -04:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl/ir_builder: Add a new swizzle_for_size() function. 2012-07-12 10:20:20 -07:00
glu glu: fix two Clang warnings 2012-05-21 08:29:23 -06:00
glx scons: Also require recent XCB. 2012-07-12 21:13:10 +01:00
gtest gtest: Don't actually install a library. 2012-04-16 11:25:39 -07:00
mapi glapi: add ARB_transform_feedback_instanced 2012-07-12 13:05:58 +02:00
mesa i965: Always emit alpha when nr_color_buffers == 0. 2012-07-12 13:35:46 -07:00
.gitignore automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript scons: add code to generate the various GL API files 2012-05-31 09:40:35 -06:00