nir/validate: validate the stride for deref_ptr_as_array
authorKarol Herbst <kherbst@redhat.com>
Thu, 5 Mar 2020 21:13:24 +0000 (22:13 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 15:13:13 +0000 (15:13 +0000)
commit667e14e7bd759a77e732c4de09fb978ee3816eaf
treed7b26629b521c3c684ac052efd4b08493865db18
parent7afc9632a6d03ed8d23fbab08b564da594b9cfd6
nir/validate: validate the stride for deref_ptr_as_array

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4068>
src/compiler/nir/nir_validate.c