i965/blorp: Handle DrawBuffers properly.
authorPaul Berry <stereotype441@gmail.com>
Fri, 13 Jul 2012 21:59:13 +0000 (14:59 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 24 Jul 2012 21:52:57 +0000 (14:52 -0700)
commitff9313fac70fa85d051dd4d2b9d3402d39f67cea
treedd2da6cdf61b9ee1fcb5da158a477c232b52db07
parentfa1d267beb4adb542ea90b805306599f602c38d2
i965/blorp: Handle DrawBuffers properly.

When the client program uses glDrawBuffer() or glDrawBuffers() to
select more than one color buffer for drawing into, and then performs
a blit, we need to blit into every single enabled draw buffer.

+2 oglconforms.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50407

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp