From afff3eb95e7b03746a71b93fbc07adc0ccf08971 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Wed, 18 Sep 2024 14:37:32 -0700 Subject: [PATCH] intel/brw: Indent conditional block from brw_compile_fs() not applicable to Xe2+. Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/compiler/brw_compile_fs.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/intel/compiler/brw_compile_fs.cpp b/src/intel/compiler/brw_compile_fs.cpp index 8afb1c7f57b..43c0a907f54 100644 --- a/src/intel/compiler/brw_compile_fs.cpp +++ b/src/intel/compiler/brw_compile_fs.cpp @@ -1610,15 +1610,15 @@ brw_compile_fs(const struct brw_compiler *compiler, has_spilled = v8->spilled_any_registers; allow_spilling = false; } - } - if (key->coarse_pixel && devinfo->ver < 20) { - if (prog_data->dual_src_blend) { - v8->limit_dispatch_width(8, "SIMD16 coarse pixel shading cannot" - " use SIMD8 messages.\n"); + if (key->coarse_pixel) { + if (prog_data->dual_src_blend) { + v8->limit_dispatch_width(8, "SIMD16 coarse pixel shading cannot" + " use SIMD8 messages.\n"); + } + v8->limit_dispatch_width(16, "SIMD32 not supported with coarse" + " pixel shading.\n"); } - v8->limit_dispatch_width(16, "SIMD32 not supported with coarse" - " pixel shading.\n"); } if (devinfo->ver >= 30) {