zink: fix sparse texture depth calcs for arrayed textures
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 11 May 2022 20:59:31 +0000 (16:59 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 12 May 2022 03:40:04 +0000 (03:40 +0000)
commit1126f42781d87162eb827794b7446b3619e067af
treebd7a79a0c6adcdf8f944ed0f98d4413b48d4bcd2
parent452a028fc20150d517aae6fcf025d972bb26acff
zink: fix sparse texture depth calcs for arrayed textures

use the array, not the depth

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
src/gallium/drivers/zink/zink_bo.c