diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index 044a5627c5b..52409dae2a0 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -187,7 +187,6 @@ bi_byte(bi_index idx, unsigned lane) static inline bi_index bi_abs(bi_index idx) { - assert(idx.type != BI_INDEX_CONSTANT); idx.abs = true; return idx; } @@ -195,7 +194,6 @@ bi_abs(bi_index idx) static inline bi_index bi_neg(bi_index idx) { - assert(idx.type != BI_INDEX_CONSTANT); idx.neg ^= true; return idx; }