summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_atomics.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-10-05 19:56:54 -0700
committerJason Ekstrand <[email protected]>2016-10-06 09:16:39 -0700
commitae032e5ea61dac3c63d74056174939e5ec091629 (patch)
tree86684d642726e12aff0914b62a74f8c4c30321b1 /src/compiler/nir/nir_lower_atomics.c
parent2ed17d46de045404042f13c6591895a1cf31b167 (diff)
nir: Remove some no longer needed asserts
Now that the NIR casting functions have type assertions, we have a bunch of assertions that aren't needed anymore. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_atomics.c')
-rw-r--r--src/compiler/nir/nir_lower_atomics.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_atomics.c b/src/compiler/nir/nir_lower_atomics.c
index 583e2a50c74..6fea8f468f2 100644
--- a/src/compiler/nir/nir_lower_atomics.c
+++ b/src/compiler/nir/nir_lower_atomics.c
@@ -112,7 +112,6 @@ lower_instr(nir_intrinsic_instr *instr,
nir_deref *tail = &instr->variables[0]->deref;
while (tail->child != NULL) {
- assert(tail->child->deref_type == nir_deref_type_array);
nir_deref_array *deref_array = nir_deref_as_array(tail->child);
tail = tail->child;