Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add support for descriptor set copies and other things #2219

Merged
merged 5 commits into from
Jun 3, 2023

Conversation

Rua
Copy link
Contributor

@Rua Rua commented Jun 3, 2023

Changelog:

### Breaking changes
Changes to descriptor sets and descriptor set layouts:
- `PersistentDescriptorSet::new` now takes an additional parameter, specifying descriptor set copy operations.
- `DescriptorSetLayoutCreateInfo::push_descriptor` has been replaced with a more generic `flags` field.
- `DescriptorSetLayoutBinding::variable_descriptor_count` has been replaced with a more generic `binding_flags` field.

### Additions
- `PipelineLayoutCreateInfo` now has a `flags` field.
- Added `Device::descriptor_set_layout_support` from the `khr_maintenance3` extension.

Descriptor set copies are a Vulkan 1.0 feature, but were never implemented in Vulkano for some reason. This PR adds them. It also rearranges some of the descriptor set and pipeline layout stuff to match Vulkan a bit better, and converts all the error handling to use ValidationError.

@marc0246
Copy link
Contributor

marc0246 commented Jun 3, 2023

👍

@marc0246 marc0246 merged commit 3e7ac8e into vulkano-rs:master Jun 3, 2023
3 checks passed
marc0246 added a commit that referenced this pull request Jun 3, 2023
Rua added a commit that referenced this pull request Jun 3, 2023
rauba-code pushed a commit to rauba-code/vulkano that referenced this pull request Jun 3, 2023
* Add support for descriptor set copies and other things

* Typo

* Errors

* Doctest fix

* Add missing non_exhaustive
rauba-code pushed a commit to rauba-code/vulkano that referenced this pull request Jun 3, 2023
rauba-code pushed a commit to rauba-code/vulkano that referenced this pull request Jun 3, 2023
marc0246 added a commit that referenced this pull request Jun 5, 2023
@Rua Rua deleted the dscopy branch October 25, 2023 14:25
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
* Add support for descriptor set copies and other things

* Typo

* Errors

* Doctest fix

* Add missing non_exhaustive
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
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants