anv/gen7: only enable dual-source blending when there are dual-source factors
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 24 Nov 2016 02:43:38 +0000 (21:43 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 24 Nov 2016 03:40:00 +0000 (19:40 -0800)
commit8cdf73c324bccebd043f725cf218cc530d2588c3
treea71cfdcd5f867084855e2ad485773d579430a9de
parenta783b67e17ea6af6201d53145163e06532ebbd1a
anv/gen7: only enable dual-source blending when there are dual-source factors

Apparently the hw wedges otherwise, as mentioned in i965 comments.

Reported-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/genX_pipeline.c