Fix pMutableDescriptorTypeLists in mutable descriptor tests
authorziga-lunarg <ziga@lunarg.com>
Sun, 16 Oct 2022 01:50:25 +0000 (03:50 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 10 Nov 2022 18:11:53 +0000 (18:11 +0000)
pMutableDescriptorTypeLists between srcBinding and dstBinding must match
exactly for copying descriptor sets

Components: Vulkan

VK-GL-CTS issue: 4051

Affected tests:
dEQP-VK.binding_model.mutable_descriptor.*

Change-Id: I64445e84ccd4872789a3db8b15e005d36c08d8a4

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

index 653f4d0..81e3f08 100644 (file)
@@ -980,7 +980,7 @@ public:
                static const auto kMandatoryMutableTypeFlags = toDescriptorTypeFlags(getMandatoryMutableTypes());
                if (type == VK_DESCRIPTOR_TYPE_MUTABLE_VALVE)
                {
-                       const auto descFlags = (toDescriptorTypeFlags(mutableTypesVec) | kMandatoryMutableTypeFlags);
+                       const auto descFlags = toDescriptorTypeFlags(mutableTypesVec);
                        return de::MovePtr<BindingInterface>(new SingleBinding(type, toDescriptorTypeVector(descFlags)));
                }