i965/gen6: Fix blending state when no color buffer is bound.
authorEric Anholt <eric@anholt.net>
Wed, 11 May 2011 21:07:44 +0000 (14:07 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 18 May 2011 20:57:16 +0000 (13:57 -0700)
commit367020d87ce8c27aeb58b3887fbd29d216fdc151
treeccbdecf64088e2294c67e156e78ae8d43ac21754
parent51761a1aefd31b7df12edd9467ac630b9cbbbbc9
i965/gen6: Fix blending state when no color buffer is bound.

This is part of fixing fbo-alphatest-nocolor -- a regression in
35e8fe5c99b285f348cb8a1bba2931f120f7c0a1 after the initial regression,
that had us using a garbage BLEND_STATE[0] (in particular, the alpha
test enable) if no color buffer was bound.
src/mesa/drivers/dri/i965/gen6_cc.c