aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2020-05-19 14:30:01 -0700
committerMarge Bot <[email protected]>2020-05-26 20:35:03 +0000
commit8cc7711924fd0f3c76e22e527e21d8f8368e5395 (patch)
tree2c6c7e262433acdcbc07980c32998671ea0bb4c0
parent462bc408fe953d8d4e914e78c7faef057e806872 (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5213>
-rw-r--r--src/intel/compiler/brw_fs.cpp3
1 files changed, 0 insertions, 3 deletions
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 */