v3dv: expand format coverage in TFU path for buffer to image copies
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 30 Nov 2020 09:15:57 +0000 (10:15 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 30 Nov 2020 12:21:15 +0000 (13:21 +0100)
commit124ea8debf95f3d6343975cb432e2e3d19db3eec
treeda20b9bc318a929f94ebd90940fac6f81e032d01
parentb3f212c52e278ced13a795fab8c05f2f65ce7c0a
v3dv: expand format coverage in TFU path for buffer to image copies

Just like we do for image copies, since we are not doing any pixel
format conversions, we can translate the image format to a compatible
format that is supported by the TFU.

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