Enable random descriptor writes for storage buffers
authorRicardo Garcia <rgarcia@igalia.com>
Tue, 30 Jun 2020 07:25:12 +0000 (09:25 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 30 Jul 2020 07:45:11 +0000 (03:45 -0400)
This commit activates random writes for storage buffers in the
descriptor set random tests.

Affected tests:
dEQP-VK.binding_model.descriptorset_random.*sbolimitlow*
dEQP-VK.binding_model.descriptorset_random.*sbolimithigh*

Components: Vulkan
VK-GL-CTS issue: 1973

Change-Id: Ia840d4fc57a695fb1e3bc7aa628cafa71e42badd

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

index d137bdd..1c46933 100644 (file)
@@ -332,11 +332,10 @@ void chooseWritesRandomly(vk::VkDescriptorType type, RandomLayout& randomLayout,
 {
        switch (type)
        {
-       case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
        case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
        case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
        case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
-               // Disable writes for all descriptor types.
+               // Disable writes for these descriptor types.
                return;
        default:
                break;