softpipe: Fix rgb_dst_factor == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 6 Nov 2012 15:59:41 +0000 (15:59 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 9 Nov 2012 13:43:19 +0000 (13:43 +0000)
commit48ce9289001c4c04503bd5061135b120cfe51cee
treea2a8a856d134bf5828eadbf66683f40e4a678840
parente5f0ae0bd8cbaf1bb5c87929681ea6bd83e8d834
softpipe: Fix rgb_dst_factor == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE.

We must multiply the factor against the destination, not the source.

NOTE: Candidate for the stable branches.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_quad_blend.c