From bdfa25dc776f1bb334f827ee17aa20e50c78d28f Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 27 Feb 2024 11:15:25 +0200 Subject: [PATCH] intel/fs: decouple alphaToCoverage from per sample dispatch Signed-off-by: Lionel Landwerlin Reviewed-by: Ivan Briano Part-of: --- src/intel/compiler/brw_fs.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 13e01515405..12eb83c2249 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -3681,8 +3681,6 @@ brw_nir_populate_wm_prog_data(nir_shader *shader, * to definitively tell whether alpha_to_coverage is on or off. */ prog_data->alpha_to_coverage = key->alpha_to_coverage; - assert(prog_data->alpha_to_coverage != BRW_SOMETIMES || - prog_data->persample_dispatch == BRW_SOMETIMES); prog_data->uses_sample_mask = BITSET_TEST(shader->info.system_values_read, SYSTEM_VALUE_SAMPLE_MASK_IN);