Test copying data from/to tightly sized buffers
authorPaavo Pessi <paavo.pessi@siru.fi>
Thu, 3 May 2018 08:53:30 +0000 (11:53 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 22 May 2018 09:18:43 +0000 (05:18 -0400)
commitc83a8635094bda570fafa63e48667a45d0019346
treebffc717952f78490fe2c105c7288021eca538e6e
parentf3d3c5e571970c249b8b8a95483ac8fba3a6e695
Test copying data from/to tightly sized buffers

New tests were added to verify that the source and destination buffers
in vkCmdCopyBufferToImage and vkCmdCopyImageToBuffer respectively can
be just large enough to contain the accessed elements, specifically in
cases where the buffer size is not a multiple of buffer row length.

New tests:

dEQP-VK.api.copy_and_blit.*.image_to_buffer.tightly_sized_buffer
dEQP-VK.api.copy_and_blit.*.image_to_buffer.tightly_sized_buffer_offset
dEQP-VK.api.copy_and_blit.*.buffer_to_image.tightly_sized_buffer
dEQP-VK.api.copy_and_blit.*.buffer_to_image.tightly_sized_buffer_offset

Components: Vulkan

VK-GL-CTS issue: 1124

Change-Id: Ice8f542a37bc45f969e33eb148ad0e77f40f8dd8
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp
external/vulkancts/mustpass/1.1.2/vk-default-no-waivers.txt
external/vulkancts/mustpass/1.1.2/vk-default.txt