intel/compiler: fix dynamic alpha-to-coverage handling
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 25 Aug 2023 15:02:05 +0000 (18:02 +0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 29 Aug 2023 23:19:12 +0000 (23:19 +0000)
commit9bf2a89127f0f4ef3c98190b266c9346122eabe3
treef43957a5b47ce8447a3b48ee2fffa65ca86995a6
parentd74c3010268e6d2b7c0ef9a4d3caaf1f7e1b3a5a
intel/compiler: fix dynamic alpha-to-coverage handling

Got the wrong logic operation. Let's reuse the nicer NIR builder
helper.

Fixes a bunch of KHR-GL46.sample_variables.mask.rgba8.*.samples*.mask*

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: fd7debc8bb ("intel/fs: make alpha_to_coverage a tristate")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9568
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24716>
src/gallium/drivers/zink/ci/zink-anv-tgl-flakes.txt
src/intel/compiler/brw_nir_lower_alpha_to_coverage.c