Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add remaining ext_descriptor_indexing flags #2358

Merged
merged 5 commits into from
Oct 15, 2023

Conversation

Rua
Copy link
Contributor

@Rua Rua commented Oct 11, 2023

Changelog:

### Additions
- Added the `UPDATE_AFTER_BIND`, `UPDATE_UNUSED_WHILE_PENDING` and `PARTIALLY_BOUND` flags to `DescriptorBindingFlags`, as well as `DescriptorSetLayoutCreateFlags::UPDATE_AFTER_BIND_POOL` and `DescriptorPoolCreateFlags::UPDATE_AFTER_BIND`.

Depends on #2357. Closes #1706.

This completes coverage of the ext_descriptor_indexing extension for Vulkan 1.2, but with some caveats. The new DescriptorBindingFlags are pretty much useless at the moment, because Vulkano doesn't support updating descriptor sets after they're created, and because the draw-time checks don't handle dynamic use yet. However, at least the flags now exist and are properly validated, so that doesn't have to be done later. DescriptorSetLayoutCreateFlags::UPDATE_AFTER_BIND_POOL is useful for getting the increased limits.

@marc0246
Copy link
Contributor

Can you rebase please?

@marc0246 marc0246 merged commit 00cf9eb into vulkano-rs:master Oct 15, 2023
3 checks passed
marc0246 added a commit that referenced this pull request Oct 15, 2023
Rua added a commit that referenced this pull request Oct 15, 2023
@Rua Rua deleted the descriptor-indexing branch October 25, 2023 14:24
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
* Fix the documentation for `DescriptorPool` methods

* Pool allocate validation

* Add `DescriptorPoolAlloc`, make `UnsafeDescriptorSet` more useful

* Add remaining `ext_descriptor_indexing` flags
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for UPDATE_AFTER_BIND descriptors.
2 participants