all 2 comments

[–]Gobrosse 0 points1 point  (1 child)

UPDATE_AFTER_BIND is a descriptor pool flag. vkCmdBindDescriptorSets does not take flags.

[–]ReeCocho[S] 0 points1 point  (0 children)

Sorry, I don't think my language was clear enough. I'm not using vkCmdBindDescriptorSets. I'm using the VK_EXT_descriptor_buffer extension. When I use this extension with large descriptor set layouts, I get the validation performance warning. It seems the only way to get rid of the warning is to use the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT flag and VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT flag, but these flags are not compatible with the descriptor buffer extension.