svga: add support for independent blend function per render target
authorCharmaine Lee <charmainel@vmware.com>
Wed, 4 Oct 2017 17:05:58 +0000 (11:05 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit3c3fc7154e50e8ef4d81fef1d6b12d1ce57326a7
tree872d01d6efeb9b12d22f86bd6dcf83e3b8f49f28
parent5512f943b87c2ebe01c410cf3af9af8eb31dcb17
svga: add support for independent blend function per render target

This patch adds support for GL_ARB_draw_buffers_blend extension
for SM4_1 device.

Fixes piglit test fbo-draw-buffers-blend.

This patch is squashed with a subsequent patch which fixed a
regression.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_blend.c
src/gallium/drivers/svga/svga_screen.c