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;