i965: Fix alpha testing when there is no color buffer in the FBO.
authorEric Anholt <eric@anholt.net>
Sat, 12 Mar 2011 01:39:49 +0000 (17:39 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 15 Mar 2011 17:14:52 +0000 (10:14 -0700)
commita99447314ca1cfce60f2a22285398fb222b2a440
tree9bc21c28358c9086276979c0bf59b390c327be42
parentb60651a17ba85af14e9d7b9a1398e065adb58665
i965: Fix alpha testing when there is no color buffer in the FBO.

We were alpha testing against an unwritten value, resulting in garbage.
(part of) Bug #35073.
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h