Replace core VkDescriptorSetVariableDescriptorCountAllocateInfo structure with EXT version.
This commit is contained in:
parent
4a11ae0c5a
commit
78940988b9
1 changed files with 2 additions and 2 deletions
|
|
@ -292,11 +292,11 @@ public:
|
||||||
Descriptor sets
|
Descriptor sets
|
||||||
*/
|
*/
|
||||||
|
|
||||||
VkDescriptorSetVariableDescriptorCountAllocateInfo variableDescriptorCountAllocInfo = {};
|
VkDescriptorSetVariableDescriptorCountAllocateInfoEXT variableDescriptorCountAllocInfo = {};
|
||||||
|
|
||||||
uint32_t variableDescCounts[] = {textures.size()};
|
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.descriptorSetCount = 1;
|
||||||
variableDescriptorCountAllocInfo.pDescriptorCounts = variableDescCounts;
|
variableDescriptorCountAllocInfo.pDescriptorCounts = variableDescCounts;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue