Correct image mutable tests on null driver
authorPiotr Byszewski <piotr.byszewski@mobica.com>
Fri, 9 Nov 2018 16:53:42 +0000 (17:53 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 29 Nov 2018 09:13:24 +0000 (04:13 -0500)
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.*

external/vulkancts/modules/vulkan/image/vktImageMutableTests.cpp

index f60271fff3867db651ec2c98b7a009013b894af9..c1295c357b049927adc5ab1c95169cdbfefc9c21 100644 (file)
@@ -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;