From af8b9af700e889366b4210082920fb94c2b679bd Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 19 Jul 2022 16:46:32 -0700 Subject: [PATCH] intel/brw/xe2+: Allow dual-source blending in SIMD16 mode. Reviewed-by: Lionel Landwerlin Reviewed-by: Ian Romanick Part-of: --- src/intel/compiler/brw_fs_visitor.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/intel/compiler/brw_fs_visitor.cpp b/src/intel/compiler/brw_fs_visitor.cpp index 2c894789d88..923c603faaa 100644 --- a/src/intel/compiler/brw_fs_visitor.cpp +++ b/src/intel/compiler/brw_fs_visitor.cpp @@ -654,8 +654,12 @@ fs_visitor::emit_fb_writes() * dispatch on ICL due some unknown reasons, see * https://gitlab.freedesktop.org/mesa/mesa/-/issues/2183 */ - limit_dispatch_width(8, "Dual source blending unsupported " - "in SIMD16 and SIMD32 modes.\n"); + if (devinfo->ver >= 20) + limit_dispatch_width(16, "Dual source blending unsupported " + "in SIMD32 mode.\n"); + else + limit_dispatch_width(8, "Dual source blending unsupported " + "in SIMD16 and SIMD32 modes.\n"); } do_emit_fb_writes(key->nr_color_regions, replicate_alpha);