From 2d6ff1061c4fa187a22bf62c3c9af4b892dcf497 Mon Sep 17 00:00:00 2001 From: marc0246 <40955683+marc0246@users.noreply.github.com> Date: Sun, 25 Jun 2023 22:10:19 +0200 Subject: [PATCH] #2234 changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0bc5212..259c4fa5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,10 @@ Changes to pipeline construction: - Instead of an entry point and specialization constants, pipeline construction now takes a `PipelineShaderStageCreateInfo` structure. `GraphicsPipelineCreateInfo` has a `stages` member that takes all shader stages at once, instead of separate members for each shader type. `EntryPoint` now owns instead of borrows a reference to the `ShaderModule`, so this is easier. - Specialization constants are now provided with a `HashMap` containing `SpecializationConstant` enum values. The `SpecializationConstants` trait is removed, and `vulkano_shaders` no longer generates structs for specialization constants. - Added a `domain_origin` field to `TessellationState`. +- `ViewportState` is now a standard struct with two fields, `viewports` and `scissors`. +- The `origin` and `dimensions` fields of `Viewport` and `Scissors` are renamed to `offset` and `extent` to match Vulkan. +- `Viewport::depth_range` is now an inclusive range. +- All fields of `AttachmentBlend` are renamed to match Vulkan. Changes to images: - Removed the `ImageInner` type. The `inner` method of the `ImageAccess` trait now returns a reference to the inner image directly. @@ -57,6 +61,9 @@ Changes to `DescriptorPool`: - `DescriptorPool::new` now returns validation errors instead of panicking. - `DescriptorPoolCreateInfo::can_free_descriptor_sets` has been replaced with a more generic `flags` field. +Changes to pipeline caches: +- They are now constructed with the standard combination of a `new` constructor and a `PipelineCacheCreateInfo`. + ### Additions - Vulkano-shaders: Added a `root_path_env` property to allow loading shaders generated by a build script.