r600g: fix color exports when we have no CBs
authorVadim Girlin <vadimgirlin@gmail.com>
Sun, 25 Aug 2013 14:52:17 +0000 (18:52 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Fri, 30 Aug 2013 11:51:11 +0000 (15:51 +0400)
commit29ff2e907d6c54f95be6dfa72201fd25bbd50fcd
tree80d5e3ed208928b65cd80edb198a4e69287bd710
parent74be77a99e1196d07ebd941aee24313f7aa123c9
r600g: fix color exports when we have no CBs

We need to export at least one color if the shader writes it,
even when nr_cbufs==0.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/r600_shader.c