From: Jarred Davies Date: Thu, 5 Apr 2018 09:51:23 +0000 (+0100) Subject: Drop linear filter requirement from YCbCr tests X-Git-Tag: upstream/1.3.5~2565^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eab78dce0d08f4ec22cece6be8003f554ede5882;p=platform%2Fupstream%2FVK-GL-CTS.git Drop linear filter requirement from YCbCr tests Remove requirement for YCbCr base formats to support VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT from format_properties tests. The standard does not require support for this feature from any YCbCr format. Affects: dEQP-VK.api.info.format_properties.g8_b8_r8_3plane_420_unorm dEQP-VK.api.info.format_properties.g8_b8r8_2plane_420_unorm Components: Vulkan VK-GL-CTS issue: 1090 Change-Id: I6fa1c6c7a7f9768c2001972ae1f04173310aa652 --- diff --git a/external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp b/external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp index a9b2447..e19efa7 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp @@ -1974,8 +1974,7 @@ tcu::TestStatus ycbcrFormatProperties (Context& context, VkFormat format) { const VkFormatFeatureFlags required = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT | VK_FORMAT_FEATURE_TRANSFER_SRC_BIT - | VK_FORMAT_FEATURE_TRANSFER_DST_BIT - | VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT; + | VK_FORMAT_FEATURE_TRANSFER_DST_BIT; if ((supported & required) != required) {