From: Jorg Wagner Date: Thu, 28 Sep 2017 11:59:51 +0000 (+0200) Subject: Correct image usage flags for YCbCr copy tests X-Git-Tag: upstream/1.3.5~2565^2~6^2~130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f2a5b768c81760bef727f1d72741e74274968518;p=platform%2Fupstream%2FVK-GL-CTS.git Correct image usage flags for YCbCr copy tests The images are used as copy source and destination, hence TRANSFER_SRC | TRANSFER_DST must be present in the usage flags. Images are not sampled from - remove SAMPLED flag. Affects: dEQP-VK.ycbcr.copy.* Components: Vulkan VK-GL-CTS issue: 715 Change-Id: Ie53d3e2fb18aa834af12938cd822aa6c50f75986 --- diff --git a/external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp b/external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp index 49c9318fa..20b3fce54 100644 --- a/external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp +++ b/external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp @@ -166,7 +166,7 @@ vk::Move createImage (const vk::DeviceInterface& vkd, 1u, vk::VK_SAMPLE_COUNT_1_BIT, tiling, - vk::VK_IMAGE_USAGE_TRANSFER_DST_BIT | vk::VK_IMAGE_USAGE_SAMPLED_BIT, + vk::VK_IMAGE_USAGE_TRANSFER_SRC_BIT | vk::VK_IMAGE_USAGE_TRANSFER_DST_BIT, vk::VK_SHARING_MODE_EXCLUSIVE, 0u, (const deUint32*)DE_NULL,