summaryrefslogtreecommitdiff
path: root/external/vulkancts/modules/vulkan
diff options
context:
space:
mode:
authorPiotr Byszewski <piotr.byszewski@mobica.com>2023-03-03 13:37:25 +0100
committerPiotr Byszewski <piotr.byszewski@mobica.com>2023-03-03 13:37:25 +0100
commit062d00c90da14258886d2f90128d0520b805df27 (patch)
treec262c756dd2ce5a2a4beb4de25cfe37f0f317877 /external/vulkancts/modules/vulkan
parent37ab2a5678ddc90710d51008c6f88930d6d8364b (diff)
parent7a635c0ca68efa31b6a45ed292ca0c5bed25993c (diff)
downloadVK-GL-CTS-062d00c90da14258886d2f90128d0520b805df27.tar.gz
VK-GL-CTS-062d00c90da14258886d2f90128d0520b805df27.tar.bz2
VK-GL-CTS-062d00c90da14258886d2f90128d0520b805df27.zip
Merge vk-gl-cts/vulkan-cts-1.3.0 into vk-gl-cts/vulkan-cts-1.3.1
Change-Id: Idd791399ad26c7817670c730f215978cdaf0831f
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.