This commit is contained in:
Rua 2023-04-02 15:08:41 +02:00 committed by GitHub
parent 59be815314
commit 83557afc1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,8 @@ Changes to memory and allocation:
- Removed `FastMemoryAllocator`, because it was giving people the wrong impression that this is a type of allocator that is employed often and for general tasks, which couldn't be further from the truth. - Removed `FastMemoryAllocator`, because it was giving people the wrong impression that this is a type of allocator that is employed often and for general tasks, which couldn't be further from the truth.
- Renamed `MemoryUsage::GpuOnly` to `MemoryUsage::DeviceOnly`. - Renamed `MemoryUsage::GpuOnly` to `MemoryUsage::DeviceOnly`.
- Marked `MemoryUsage`, `MemoryAllocatePreference` and `AllocationType` as non-exhaustive. - Marked `MemoryUsage`, `MemoryAllocatePreference` and `AllocationType` as non-exhaustive.
- `AllocationCreateInfo::{requirements, allocation_type, dedicated_allocation}` fields were removed.
- Added the parameters `requirements`, `allocation_type`, `dedicated_allocation` to `MemoryAllocator::allocate[_unchecked]`.
Changes to vulkano-shaders: Changes to vulkano-shaders:
- Struct fields are now padded using `Padded`, instead of generating additional fields. - Struct fields are now padded using `Padded`, instead of generating additional fields.