mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
#2181 changelog
This commit is contained in:
parent
b7679f8bbb
commit
783b1ba7a4
@ -11,7 +11,15 @@
|
||||
|
||||
### Breaking changes
|
||||
|
||||
Changes to shaders and pipelines:
|
||||
- `EntryPoint` now owns instead of borrows a reference to the `ShaderModule`.
|
||||
- Instead of an entry point and specialization constants, pipeline construction now takes a `PipelineShaderStageCreateInfo` structure.
|
||||
- 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.
|
||||
- `GraphicsPipelineBuilder` now has a `stages` method that takes an iterator with all shader stages at once, instead of separate methods for each shader type.
|
||||
- `GraphicsPipelineBuilder` now requires you to provide `input_assembly_state`, `rasterization_state`, `multisample_state` and `color_blend_state` instead of them having default values. You can still call `default()` to generate default values for each of them.
|
||||
|
||||
### Additions
|
||||
|
||||
- Vulkano-shaders: Added a `root_path_env` property to allow loading shaders generated by a build script.
|
||||
|
||||
### Bugs fixed
|
||||
|
Loading…
Reference in New Issue
Block a user