r600g: setup COLOR1 for possible dual-src in the framebuffer bind
authorDave Airlie <airlied@redhat.com>
Fri, 27 Apr 2012 08:38:46 +0000 (09:38 +0100)
committerDave Airlie <airlied@redhat.com>
Sat, 12 May 2012 07:25:21 +0000 (08:25 +0100)
commit31a25dac98ea20ba853128f98987c6358d8e0598
treeb4018bddd143a950c370438ab198f597a5508c7f
parente253ead78e65a64b606e8f46cdceec2689aaf9f4
r600g: setup COLOR1 for possible dual-src in the framebuffer bind

As pointed out by Marek, if we have only one cb, we may as well add this
single register write here rather than adding it in the draw loop.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c