Skip to content
Snippets Groups Projects
Commit eea20d59 authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen
Browse files

radv: Fix copying from 3D images starting at non-zero depth.


Fixes: f4e499ec "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
parent bb742b6e
No related branches found
No related tags found
No related merge requests found
......@@ -417,6 +417,9 @@ meta_copy_image(struct radv_cmd_buffer *cmd_buffer,
.height = img_extent_el.height,
};
if (src_image->type == VK_IMAGE_TYPE_3D)
b_src.layer = src_offset_el.z;
if (dest_image->type == VK_IMAGE_TYPE_3D)
b_dst.layer = dst_offset_el.z;
......
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