From: Piotr Byszewski Date: Fri, 9 Nov 2018 16:53:42 +0000 (+0100) Subject: Correct image mutable tests on null driver X-Git-Tag: upstream/1.3.5~2366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2298294bac5f15d80cfc5b9cbd23987de37007e0;p=platform%2Fupstream%2FVK-GL-CTS.git Correct image mutable tests on null driver This change removes three assertions that were recently added during implementation of tests for VK_KHR_swapchain_mutable_format Adding addtional logic to implementation of getPhysicalDeviceFormatProperties on null driver could potentialy also resolve this issue but then test would still report NotSupported. VK-GL-CTS issue: 1461 Components: Vulkan Change-Id: I44a1ce13019cf6ab1a2972337252e58ded3e7e31 Affects: dEQP-VK.image.* --- diff --git a/external/vulkancts/modules/vulkan/image/vktImageMutableTests.cpp b/external/vulkancts/modules/vulkan/image/vktImageMutableTests.cpp index f60271fff..c1295c357 100644 --- a/external/vulkancts/modules/vulkan/image/vktImageMutableTests.cpp +++ b/external/vulkancts/modules/vulkan/image/vktImageMutableTests.cpp @@ -289,11 +289,6 @@ bool isSRGBConversionRequired(const CaseDef& caseDef) { required = true; } - - // Following modes require VK_IMAGE_USAGE_STORAGE_BIT usage, not supported by srgb format - DE_ASSERT(caseDef.upload != UPLOAD_STORE); - DE_ASSERT(caseDef.download != DOWNLOAD_LOAD); - DE_ASSERT(caseDef.download != DOWNLOAD_TEXTURE); } return required;