r300: Don't disable destination read if the src blend factor needs it
authorStefan Dösinger <stefandoesinger@gmx.at>
Fri, 7 Dec 2012 16:38:35 +0000 (17:38 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 21 Dec 2012 23:05:07 +0000 (00:05 +0100)
commit9311e55c8ad97329bb2d06a0680f5165de9b21f5
treee813fe54826f717f2cd74fab2873128c9d19aaf6
parente1cb624a43cf3ef1c928bf03c26c0cf2f236a1a1
r300: Don't disable destination read if the src blend factor needs it

The read can remain disabled if the src alpha factor needs it because
the result would still be zero.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57984

NOTE: This is a candidate for stable release branches.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
(cherry picked from commit ff5a9868c8d5041a3d944ce300c857934f4e8251)
src/gallium/drivers/r300/r300_state.c