From f2a5b768c81760bef727f1d72741e74274968518 Mon Sep 17 00:00:00 2001 From: Jorg Wagner Date: Thu, 28 Sep 2017 13:59:51 +0200 Subject: [PATCH] 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 --- external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.34.1