From: Caio Marcelo de Oliveira Filho Date: Tue, 19 May 2020 21:30:01 +0000 (-0700) Subject: intel/fs: Remove redundant assert() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cc7711924fd0f3c76e22e527e21d8f8368e5395;p=mesa.git intel/fs: Remove redundant assert() This is covered by the two previous similar asserts. Each time `v` is assigned this is asserted. Reviewed-by: Jason Ekstrand Part-of: --- diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index e810f1fe769..0ff32148e0c 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -9127,9 +9127,6 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data, } } - /* We should always be able to do SIMD32 for compute shaders */ - assert(!v16 || v16->max_dispatch_width >= 32); - if (!fail_msg && (min_dispatch_width > 16 || (INTEL_DEBUG & DEBUG_DO32)) && max_dispatch_width >= 32) { /* Try a SIMD32 compile */