intel/i965: Disable SampleAlphaToOne if dual source blending enabled
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 21 Sep 2012 22:16:38 +0000 (15:16 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Sat, 29 Sep 2012 07:10:09 +0000 (00:10 -0700)
commitea0d08872724b5e31e9e32db2338e15fdfdcc4de
tree40c8ce46d09783744fbfb57c701c429f987b1d1d
parent9549e55f1108540b513dfdb8277655a9f367c5f8
intel/i965: Disable SampleAlphaToOne if dual source blending enabled

From SandyBridge PRM, volume 2 Part 1, section 12.2.3, BLEND_STATE:
DWord 1, Bit 30 (AlphaToOne Enable):
"If Dual Source Blending is enabled, this bit must be disabled"

Note: This is a candidate for stable branches.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen6_cc.c