svga: return 1 for PIPE_CAP_MIXED_COLORBUFFER_FORMATS
authorBrian Paul <brianp@vmware.com>
Tue, 26 Jun 2012 18:59:30 +0000 (12:59 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 26 Jun 2012 21:03:43 +0000 (15:03 -0600)
commit80efb524ee94efc7c6b8f849b82305144838eea1
tree625daa3e1d3a872a350a3511d0c5f92b2719be5e
parent36b3ee2ffca2f260c9e5eb248b6e2b4ca2bf6fb1
svga: return 1 for PIPE_CAP_MIXED_COLORBUFFER_FORMATS

This is actually required for GL_ARB_framebuffer_object, but the state
tracker doesn't currently check it.
Direct3D 9 allows mixed format color buffers with some restrictions.
Setting this allows Unigine Heaven 2.5 and 3.0 to run.  Tested both on
GL and D3D hosts.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/drivers/svga/svga_screen.c