v3dv: implement fallback for partial image copies

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 13 October 2020 21:21 UTC

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.

Part-of:

eac43d06ba8 v3dv: implement fallback for partial image copies
src/broadcom/vulkan/v3dv_meta_copy.c | 102 ++++++++++++++++++++++++++++++-----
1 file changed, 88 insertions(+), 14 deletions(-)

Upstream: cgit.freedesktop.org


  • Share