r600g: enable DUAL_EXPORT mode when possible
authorVadim Girlin <vadimgirlin@gmail.com>
Tue, 26 Jun 2012 16:23:31 +0000 (12:23 -0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Tue, 26 Jun 2012 22:06:55 +0000 (02:06 +0400)
commit470d00c0e270c6079232d0d5ab10bf3219768faf
tree4fe9acabc66c3bd7e6e672e315d3bdb9fbe1f980
parent0c47d9dcab80923c61b3f5375128e9b511b842fb
r600g: enable DUAL_EXPORT mode when possible

It seems DUAL_EXPORT on evergreen may be enabled when all CBs use 16-bit export
mode (EXPORT_4C_16BPC), also there should be at least one CB, and the PS
shouldn't export depth/stencil.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/evergreend.h
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state_common.c