softpipe: When doing write_all_cbufs, don't stomp over the color.
authorEric Anholt <eric@anholt.net>
Wed, 13 Jul 2011 23:08:42 +0000 (16:08 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 29 Jul 2011 00:32:42 +0000 (17:32 -0700)
commitf79e3518b4e39cd27f679c402e715154f63107f6
tree31acc9321668215147ac44bb322d3184d5207e39
parente4fdc95277bd323d8945e20635d3a1702a2e695d
softpipe: When doing write_all_cbufs, don't stomp over the color.

We have to make it through this loop processing the color multiple
times, so we can't go overwriting it on our first color buffer.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_quad_blend.c