From b9ac687d5998c89c7e4421b8f82b7be2ebc5ba01 Mon Sep 17 00:00:00 2001 From: Rua Date: Mon, 4 Nov 2024 11:50:49 +0100 Subject: [PATCH] #2599 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6c495dc37..fc7408a929 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,8 @@ Changes to memory allocation: - `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. - `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: - 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 support for tvOS. - 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: 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.