gallivm: fix oob image detection for cube/1dArray/2dArray/cubeArray
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 14 Mar 2022 20:19:25 +0000 (16:19 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Mar 2022 04:58:41 +0000 (04:58 +0000)
commit6345575f8a9e97f5856e53a1c3aee4474c4433c2
treed37833e45f2b763aecc66aff0f4f565a95966fe1
parentb7fbaf924d8d9742390ab3cbc362d87849612aa4
gallivm: fix oob image detection for cube/1dArray/2dArray/cubeArray

these all need to check for z coord oob to avoid crashing

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15388>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c