radeonsi: Fix hardware state for dual source blending
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 30 Apr 2013 14:34:10 +0000 (16:34 +0200)
committerMichel Dänzer <michel@daenzer.net>
Tue, 28 May 2013 07:55:46 +0000 (09:55 +0200)
commite369f40a9b73b905f2cb9c62aff606e0ec2bb3ef
treef2975d106da966855b260c168aba03196eb7acc8
parent08810ca9ef2adc0c094686b6cd8b565eecfa866d
radeonsi: Fix hardware state for dual source blending

Set up CB_SHADER_MASK register according to pixel shader exports, and enable
some minimal state for colour buffer 1 in case dual source blending is used.
src/gallium/drivers/radeonsi/radeonsi_shader.c
src/gallium/drivers/radeonsi/radeonsi_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_draw.c