v3dv: expand the formats that can be handled in the TFU blit path
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 1 Dec 2020 07:50:46 +0000 (08:50 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Dec 2020 11:24:17 +0000 (11:24 +0000)
commit29f62061d95eabaa925918a493045f91b887a55a
tree057bf947dc1189ba40b75f59062e82ebcd6590af
parentcc62a0dfe4c7eeac18a4a8fc37b07803088c08ef
v3dv: expand the formats that can be handled in the TFU blit path

Same as with other TFU paths, we only handle exact copies without
conversion, so we can rewrite the format to use a compatible TFU format
based on its texel size, which allows us to use this path with more
formats.

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