intel/compiler: Remove emit_alpha_to_coverage workaround from backend
authorSagar Ghuge <sagar.ghuge@intel.com>
Fri, 27 Sep 2019 23:28:11 +0000 (16:28 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Mon, 21 Oct 2019 18:27:29 +0000 (11:27 -0700)
commitf729ecefef1542314e1f7660e8f00e9e67e33a84
treebfb6b78100a53a4ad8f71e2ee050bbce5488353f
parent7ecfbd4f6d407460ae47c598f07627b2b8468811
intel/compiler: Remove emit_alpha_to_coverage workaround from backend

Remove emit_alpha_to_coverage workaround from backend compiler and start
using ported workaround from NIR.

v2: Copy comment from brw_fs_visitor (Caio Marcelo de Oliveira Filho)

Fixes piglit test on HSW:
- arb_sample_shading-builtin-gl-sample-mask-mrt-alpha-to-coverage-combinations

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_visitor.cpp