v3d: allow TFU blitting for single layer textures
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Fri, 6 May 2022 11:56:17 +0000 (13:56 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 9 May 2022 07:08:11 +0000 (07:08 +0000)
commit6386144270bf1945c7ed757929948235a68008cb
tree105264069ac831c59df15907b07b86d01028b64b
parent7ea2e86a8b507521653200d197f282c79a6322f0
v3d: allow TFU blitting for single layer textures

TFU just handles 2D textures.

But for 2D array textures, cubemaps and 3D textures, if only one layer needs
to be blitted, then it is like a simple 2D texture, and thus we can also
use the TFU.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16372>
src/gallium/drivers/v3d/v3d_blit.c