intel/compiler: force simd8 when dual src blending on gen8
authorTapani Pälli <tapani.palli@intel.com>
Mon, 2 Dec 2019 14:54:30 +0000 (16:54 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 5 Dec 2019 07:42:50 +0000 (09:42 +0200)
commit32ebd4207ad9411bc790b5e2c7e8d2a4f21c3d67
tree10b4414eb74fb626b2d35d718e14b33a1eec090c
parentf6004bac1f00e34fa927a18db22d6cd4d8dc8a3e
intel/compiler: force simd8 when dual src blending on gen8

Patch introduces option to force simd8 and uses it as a workaround for
dual source blending issues seen with skqp (skia testsuite) on gen8.

Fixes following Piglit test on gen8 platforms:
   arb_blend_func_extended-dual-src-blending-issue-1917

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1917
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
c: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/compiler/brw_fs.cpp