summaryrefslogtreecommitdiff
path: root/external/vulkancts/modules/vulkan
diff options
context:
space:
mode:
authorPiotr Byszewski <piotr.byszewski@mobica.com>2023-03-03 14:31:56 +0100
committerPiotr Byszewski <piotr.byszewski@mobica.com>2023-03-03 14:31:56 +0100
commitf1bf2d85d4bec44c18aa8e6d9269aeb67bb00167 (patch)
treee4d27b78c17bf088606aa633996b859d457b52f4 /external/vulkancts/modules/vulkan
parent8e074483ce978a99a99e887b0f146213c2933ffc (diff)
parent062d00c90da14258886d2f90128d0520b805df27 (diff)
downloadVK-GL-CTS-f1bf2d85d4bec44c18aa8e6d9269aeb67bb00167.tar.gz
VK-GL-CTS-f1bf2d85d4bec44c18aa8e6d9269aeb67bb00167.tar.bz2
VK-GL-CTS-f1bf2d85d4bec44c18aa8e6d9269aeb67bb00167.zip
Merge vk-gl-cts/vulkan-cts-1.3.1 into vk-gl-cts/vulkan-cts-1.3.2
Change-Id: Iafc6fd04ac57cd732c62958dc372bd94128572b1
Diffstat (limited to 'external/vulkancts/modules/vulkan')
-rw-r--r--external/vulkancts/modules/vulkan/binding_model/vktBindingValveMutableTests.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/external/vulkancts/modules/vulkan/binding_model/vktBindingValveMutableTests.cpp b/external/vulkancts/modules/vulkan/binding_model/vktBindingValveMutableTests.cpp
index b67dce5d2..976367a31 100644
--- a/external/vulkancts/modules/vulkan/binding_model/vktBindingValveMutableTests.cpp
+++ b/external/vulkancts/modules/vulkan/binding_model/vktBindingValveMutableTests.cpp
@@ -3959,13 +3959,14 @@ tcu::TestCaseGroup* createDescriptorValveMutableTests (tcu::TestContext& testCtx
DescriptorSet::BindingPtrVector setBindings;
std::vector<SingleBinding> arrayBindings;
- // Single mutable descriptor as the first binding.
- setBindings.emplace_back(new SingleBinding(VK_DESCRIPTOR_TYPE_MUTABLE_VALVE, mandatoryTypes));
-
- // Descriptor array as the second binding.
+ // Add single type beyond the mandatory ones.
auto arrayBindingDescTypes = mandatoryTypes;
arrayBindingDescTypes.push_back(descriptorType);
+ // Single mutable descriptor as the first binding.
+ setBindings.emplace_back(new SingleBinding(VK_DESCRIPTOR_TYPE_MUTABLE_VALVE, arrayBindingDescTypes));
+
+ // Descriptor array as the second binding.
if (aliasingCase.aliasing)
{
// With aliasing, the descriptor types rotate in each descriptor.