intel/blorp: Set array_len for 3D images properly
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 28 Feb 2023 17:14:36 +0000 (11:14 -0600)
committerMarge Bot <emma+marge@anholt.net>
Sat, 4 Mar 2023 06:12:46 +0000 (06:12 +0000)
commit74e6e207fe21b7241d34906db430467b0c49f4c3
treedcc1645daa47883518fd2c072d706f42793cdb29
parent4ee1908ab60058c958d376d9da3167829cbf5b12
intel/blorp: Set array_len for 3D images properly

We need to minify the depth so we don't set a size that's out-of-bounds.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21376>
src/intel/blorp/blorp.c