v3dv: allow TFU transfers for mip levels other than 0
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 22 May 2023 11:55:45 +0000 (13:55 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 24 May 2023 09:28:07 +0000 (09:28 +0000)
commit74e797e6ba6949edd97cdada96b5c62bec0ac107
tree17be9a68f4aee7ec70982422d32e0ffeb1d68737
parent1cb2d2a5eedd2962297e877850242260c93dd804
v3dv: allow TFU transfers for mip levels other than 0

We had a check to ensure we were copying full slices, but the
size check was done against the base mip level, so in practice
we were only using the TFU for mip 0.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23180>
src/broadcom/vulkan/v3dv_meta_copy.c