From 4aeaef99c003f3c75279d9b400315685ebbba30d Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 14 May 2020 17:36:43 +0000 Subject: [PATCH] Revert "nir/validate: validate the stride for deref_ptr_as_array" This reverts commit 667e14e7bd759a77e732c4de09fb978ee3816eaf --- src/compiler/nir/nir_validate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/nir/nir_validate.c b/src/compiler/nir/nir_validate.c index 70ddda3e98b..998017d504a 100644 --- a/src/compiler/nir/nir_validate.c +++ b/src/compiler/nir/nir_validate.c @@ -482,7 +482,6 @@ validate_deref_instr(nir_deref_instr *instr, validate_state *state) parent->deref_type == nir_deref_type_array || parent->deref_type == nir_deref_type_ptr_as_array || parent->deref_type == nir_deref_type_cast); - validate_assert(state, nir_deref_instr_ptr_as_array_stride(parent)); validate_src(&instr->arr.index, state, nir_dest_bit_size(instr->dest), 1); break; -- 2.30.2