This commit is contained in:
Rua 2023-11-12 15:11:12 +01:00 committed by GitHub
parent bbd1de36ef
commit 6b951709e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,14 @@ Changes to `Surface`:
- `Surface::required_extensions` now returns a result. - `Surface::required_extensions` now returns a result.
- `Surface::from_window[_ref]` now take `HasWindowHandle + HasDisplayHandle` as the window and return a new error type. - `Surface::from_window[_ref]` now take `HasWindowHandle + HasDisplayHandle` as the window and return a new error type.
Changes to descriptor sets:
- `PersistentDescriptorSet` now takes an `Arc<dyn DescriptorSetAllocator>` on construction, the type parameter for the descriptor set allocator was removed.
Changes to descriptor set allocation:
- `DescriptorSetAllocator` no longer has an `Alloc` associated type in order to make the trait object-safe.
- There is now only the single type `DescriptorSetAlloc` to represent allocated descriptor sets. The `DescriptorSetAlloc` trait and `StandardDescriptorSetAlloc` type were removed.
- `DescriptorSetAllocator` has a new required method `deallocate`.
### Additions ### Additions
- Partially validated versions of `submit` and `present` commands (called via `QueueGuard`). - Partially validated versions of `submit` and `present` commands (called via `QueueGuard`).