This commit is contained in:
Rua 2024-11-04 11:50:49 +01:00 committed by GitHub
parent a52e327184
commit b9ac687d59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,8 @@ Changes to memory allocation:
- `Suballocator` has new required items `Suballocations` and `suballocations` for iterating over suballocations. - `Suballocator` has new required items `Suballocations` and `suballocations` for iterating over suballocations.
- `Suballocator::cleanup` was replaced with `Suballocator::reset`, allowing any suballocator to deallocate all suballocations at once, not just the bump allocator. - `Suballocator::cleanup` was replaced with `Suballocator::reset`, allowing any suballocator to deallocate all suballocations at once, not just the bump allocator.
- `BumpAllocator::reset` was removed. - `BumpAllocator::reset` was removed.
- `DeviceLayout::repeat` and `BufferContentsLayout::layout_for_len` now take `DeviceSize` as argument.
- `DeviceLayout::{from_layout,into_layout}` return an `Option` now.
Changes to command buffers: Changes to command buffers:
- Renamed `UnsafeCommandBufferBuilder` to `RecordingCommandBuffer` and `UnsafeCommandBufferBuilder::build` to `end`. - Renamed `UnsafeCommandBufferBuilder` to `RecordingCommandBuffer` and `UnsafeCommandBufferBuilder::build` to `end`.
@ -146,6 +148,8 @@ Other:
- Added `PhysicalDevice::presentation_support` for determining presentation support to the surface of any window of a given event loop. - Added `PhysicalDevice::presentation_support` for determining presentation support to the surface of any window of a given event loop.
- Added support for tvOS. - Added support for tvOS.
- Added `Suballocation[Node]::as[_usize]_range` for cleaner slicing. - Added `Suballocation[Node]::as[_usize]_range` for cleaner slicing.
- Added `DeviceLayout::{new_sized,new_unsized,for_value}` for improved ergonomics when (sub)allocating buffers.
- Added `DeviceAlignment::of_val`.
- Vulkano-shaders: Support for Vulkan 1.3 target environment. - Vulkano-shaders: Support for Vulkan 1.3 target environment.
- Vulkano-shaders: Added `generate_structs: true` option that may be used to disable rust structs from generating. Useful in e.g. rust-gpu contexts where such functionality is not needed. - Vulkano-shaders: Added `generate_structs: true` option that may be used to disable rust structs from generating. Useful in e.g. rust-gpu contexts where such functionality is not needed.
- Vulkano-util: `VulkanoWindowsRenderer::swapchain_image_views` allows access to the swapchain images. - Vulkano-util: `VulkanoWindowsRenderer::swapchain_image_views` allows access to the swapchain images.