Skip to content
Snippets Groups Projects
Commit 1d7c3ee7 authored by Alex Smith's avatar Alex Smith Committed by Juan A. Suárez
Browse files

radv: Fix CmdCopyImage between uncompressed and compressed images


From the spec:

    "When copying between compressed and uncompressed formats the
     extent members represent the texel dimensions of the source
     image and not the destination."

However, as per 7b890a36, we must still use the destination image type
when clamping the extent so that we copy the correct number of layers
for 2D to 3D copies.

Fixes: 7b890a36 "radv: Fix vkCmdCopyImage for 2d slices into 3d Images"
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarAlex Smith <asmith@feralinteractive.com>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit fcf267ba)
parent c1563394
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment