From fb0b2ba8e1f231e0250a42f5152a099c033eb53f Mon Sep 17 00:00:00 2001 From: Rua Date: Wed, 19 Jul 2023 11:12:12 +0200 Subject: [PATCH] #2264 changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5d942bb46..86e5e9906a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -85,6 +85,10 @@ Changes to `Format`: - The following objects now use `Format` instead of `Option`: `BufferView`, `Image`, `ImageView`, `SamplerYcbcrConversion`. - The `block_size` method no longer returns an `Option`. +Changes to memory allocation: +- `AllocationCreateInfo::usage` and `SubbufferAllocatorCreateInfo::memory_usage` were replaced by a `memory_type_filter` field, to allow for a more flexible selection of the memory type. Additionally, `SubbufferAllocatorCreateInfo::memory_type_filter` defaults to `MemoryTypeFilter::PREFER_DEVICE` for consistency with `AllocationCreateInfo`, unlike the previous default of `MemoryUsage::Upload`. +- `SubbufferAllocatorCreateInfo::buffer_usage` is now empty by default for consistency with `BufferCreateInfo`. + ### Additions - Vulkano-shaders: Added a `root_path_env` property to allow loading shaders generated by a build script.