Use SRC image layout for copy image to buffer
authorSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 6 Sep 2017 14:47:04 +0000 (16:47 +0200)
committerSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 6 Sep 2017 14:48:59 +0000 (16:48 +0200)
commit493695a3b931ee4cc1d573ded0ec997d81999ba8
tree87c9220b85e424a0148973c7df94eea4a639c0a0
parent8c9c0c597daddb009c37686e8680870524e8faa1
Use SRC image layout for copy image to buffer

The test was calling vkCmdCopyImageToBuffer with
VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL layout, which is not a valid
parameter value for this function (and not the layout the image is currently in).

Affects: dEQP-VK.memory.binding.*.*.image_*

Components: Vulkan

VK-GL-CTS issue: 666

Change-Id: Ifb5a1bd8726535de02a0dc134f5ac76a2734a661
external/vulkancts/modules/vulkan/memory/vktMemoryBindingTests.cpp