From: Karol Herbst Date: Thu, 14 May 2020 17:36:43 +0000 (+0000) Subject: Revert "nir/validate: validate the stride for deref_ptr_as_array" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4aeaef99c003f3c75279d9b400315685ebbba30d;p=mesa.git Revert "nir/validate: validate the stride for deref_ptr_as_array" This reverts commit 667e14e7bd759a77e732c4de09fb978ee3816eaf --- 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;