Enable random writes for storage images
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 9 Oct 2020 09:36:44 +0000 (11:36 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 18 Nov 2020 07:57:29 +0000 (02:57 -0500)
This commit enables random writes in the descriptor set random tests for
descriptors of type VK_DESCRIPTOR_TYPE_STORAGE_IMAGE.

Affected tests:
dEQP-VK.binding_model.descriptorset_random.*lowimgnotex*
dEQP-VK.binding_model.descriptorset_random.*lowimgsingletex*
dEQP-VK.binding_model.descriptorset_random.*storageimghigh*

Components: Vulkan
VK-GL-CTS issue: 1973

Change-Id: Ibf49692a72641ab6ca752048d71926eb975316e1

external/vulkancts/modules/vulkan/binding_model/vktBindingDescriptorSetRandomTests.cpp

index 4554e57..74a7916 100644 (file)
@@ -333,7 +333,6 @@ void chooseWritesRandomly(vk::VkDescriptorType type, RandomLayout& randomLayout,
        switch (type)
        {
        case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
-       case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
                // Disable writes for these descriptor types.
                return;
        default: