intel/fs: Don't enable dual source blend if no outputs are written
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 6 Jan 2017 22:41:27 +0000 (14:41 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
commit8b788069fbb4ffe98aea52232bfd5e0200a88121
treecd189d5aedc086d9d44c42cdbb4f4a11c0afc955
parent48241c780af70f206196a4c21362efbf8c570a3b
intel/fs: Don't enable dual source blend if no outputs are written

This prevents a crash in some arb_enhanced_layouts tests that would be
caused by the next commit.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs_visitor.cpp