aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r--src/freedreno/ir3/ir3_image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3_image.c b/src/freedreno/ir3/ir3_image.c
index a476b98dfc2..835b5381d23 100644
--- a/src/freedreno/ir3/ir3_image.c
+++ b/src/freedreno/ir3/ir3_image.c
@@ -96,7 +96,6 @@ ir3_get_image_slot(nir_deref_instr *deref)
while (deref->deref_type != nir_deref_type_var) {
assert(deref->deref_type == nir_deref_type_array);
unsigned const_index = nir_src_as_uint(deref->arr.index);
- assert(const_index);
/* Go to the next instruction */
deref = nir_deref_instr_parent(deref);