v3dv: fix buffer automatic stride for image to buffer copies
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 13 Feb 2020 10:34:09 +0000 (11:34 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:27 +0000 (21:21 +0000)
commit11310ee621962e4cac3cd3b9dbecb62362994a55
treef68eac19f243d95d6126578f3ec8c6277784848b
parent8da9da87a64ede3c26a4aa33d5470850238a3ec0
v3dv: fix buffer automatic stride for image to buffer copies

When the client requests a tightly packet copy, we should take
the stride from the size of the region to copy, not from the size
of the image (which can be larger).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_meta_copy.c