intel/fs: Remove redundant assert()
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 19 May 2020 21:30:01 +0000 (14:30 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 20:35:03 +0000 (20:35 +0000)
This is covered by the two previous similar asserts.  Each time `v` is
assigned this is asserted.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5213>

src/intel/compiler/brw_fs.cpp

index e810f1fe769e141e847c343851a0f6cf24f3fdc9..0ff32148e0c7a32710fd821f5e2a905878727e7f 100644 (file)
@@ -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 */