From 78940988b95b9e215e3f00137819d29e2d24ffaf Mon Sep 17 00:00:00 2001 From: diharaw Date: Wed, 16 Dec 2020 10:51:27 +0000 Subject: [PATCH] Replace core VkDescriptorSetVariableDescriptorCountAllocateInfo structure with EXT version. --- examples/descriptorindexing/descriptorindexing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/descriptorindexing/descriptorindexing.cpp b/examples/descriptorindexing/descriptorindexing.cpp index 8d44034f..814bcbfc 100644 --- a/examples/descriptorindexing/descriptorindexing.cpp +++ b/examples/descriptorindexing/descriptorindexing.cpp @@ -292,11 +292,11 @@ public: Descriptor sets */ - VkDescriptorSetVariableDescriptorCountAllocateInfo variableDescriptorCountAllocInfo = {}; + VkDescriptorSetVariableDescriptorCountAllocateInfoEXT variableDescriptorCountAllocInfo = {}; uint32_t variableDescCounts[] = {textures.size()}; - variableDescriptorCountAllocInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO; + variableDescriptorCountAllocInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT; variableDescriptorCountAllocInfo.descriptorSetCount = 1; variableDescriptorCountAllocInfo.pDescriptorCounts = variableDescCounts;