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.