mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-19 18:42:31 +00:00
#1853 Changelog update
This commit is contained in:
parent
c70fcc575f
commit
5d20cc4c1d
@ -72,6 +72,13 @@
|
||||
- **Breaking** `ImageView::ty` has been renamed to `view_type`.
|
||||
- **Breaking** The `format` methods of `UnsafeImage` and `ImageViewAbstract` now return `Option<Format>`.
|
||||
- **Breaking** `UnsafeImage::flags` has been replaced with methods to return individual flags.
|
||||
- **Breaking** `MappedDeviceMemory` is now constructed separately with `new`, the `_and_map` variants of `DeviceMemory` are removed.
|
||||
- **Breaking** Changed how `MappedDeviceMemory` handles CPU access; added `invalidate_range` and `flush_range` methods and `read` and `write` methods to get (im)mutable byte slices to the memory.
|
||||
- **Breaking** Bytemuck dependencies:
|
||||
- All buffer types now require their data type parameter to implement `BufferContents`, which has `bytemuck::Pod` as a supertrait.
|
||||
- `Vertex` also has `Pod` as a supertrait.
|
||||
- Consequently, you must derive the `Zeroable` and `Pod` traits from bytemuck on any custom structures that are used as buffer contents.
|
||||
- To do this for structures generated by Vulkano-shaders, use the `types_meta` parameter as seen in the teapot example.
|
||||
- Fixed sync bug in `copy_image` and `blit_image` where the `src` and `dest` images are the same but with different mip level and/or array layer.
|
||||
- Fixed bug in `begin_render_pass` causing a panic when clearing a depth-only attachment.
|
||||
- Fixed bug in the `QueueFamily::supports_` methods causing a panic when querying support for a stage that needs no queue flags.
|
||||
|
Loading…
Reference in New Issue
Block a user