summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_cs.h
diff options
context:
space:
mode:
authorAndres Rodriguez <[email protected]>2017-01-27 00:03:07 -0500
committerBas Nieuwenhuizen <[email protected]>2017-01-30 08:44:07 +0100
commit7b890a36dfec3cc2249d61f7eb57bba637b3debb (patch)
treeabcad16f7763b85d4342dfea431d6484c97110fb /src/amd/vulkan/radv_cs.h
parent4eae3597eb390171f165d2bb62c2d48cc0b18a7d (diff)
radv: Fix vkCmdCopyImage for 2d slices into 3d Images
Previously the z offset of the destination image was being ignored. It should be taken into account when copying into a 3d target. Also, img_extent_el.depth was being incorrectly clamped to 1 due to the source image being VK_IMAGE_TYPE_2D. This would result in the blit failing to iterate over all the 3d slices. Instead we clamp to the destination image type. Fixes failures in CTS tests: dEQP-VK.api.copy_and_blit.image_to_image.3d_images.* Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_cs.h')
0 files changed, 0 insertions, 0 deletions