OSDN Git Service

llvmpipe: enable PIPE_CAP_INDEP_BLEND_FUNC
authorBrian Paul <brianp@vmware.com>
Mon, 17 Jan 2011 23:42:43 +0000 (16:42 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 17 Jan 2011 23:51:13 +0000 (16:51 -0700)
commit96a2e89ddeac0eb42fe6e6fbfd35eccb3e038ab4
tree3f20e13ab1cf9b5dd8c695de36984247c6a94fbf
parentafeebecd95b43860c8320f18b50863958de4f765
llvmpipe: enable PIPE_CAP_INDEP_BLEND_FUNC

The driver was saying that independend blend functions was not supported,
but it really was.  The driver was using the per-target independend blend
factors but the state tracker was only setting the 0th one (per the
Gallium spec).

Fixes a piglit fbo-drawbuffers2-blend regression.
See https://bugs.freedesktop.org/show_bug.cgi?id=33215
src/gallium/drivers/llvmpipe/lp_screen.c