For this we use blits with nearest filtering and choose a compatible format for the render target if the copy format is not renderable.
This works for all supported formats except combined depth/stencil (for which we don't support blitting for now) and compressed formats.
eac43d06ba8 v3dv: implement fallback for partial image copies
src/broadcom/vulkan/v3dv_meta_copy.c | 102 ++++++++++++++++++++++++++++++-----
1 file changed, 88 insertions(+), 14 deletions(-)