mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 16:25:31 +00:00
#2207 changelog
This commit is contained in:
parent
6816292750
commit
1bf682dc28
@ -31,6 +31,12 @@ Changes to error reporting:
|
|||||||
- `VulkanError` is renamed to `RuntimeError`.
|
- `VulkanError` is renamed to `RuntimeError`.
|
||||||
- Added new types `ValidationError` and `VulkanError` (enum of `ValidationError` + `RuntimeError`) to return errors from any function. Some existing functions have been converted to use these types, others will follow later.
|
- Added new types `ValidationError` and `VulkanError` (enum of `ValidationError` + `RuntimeError`) to return errors from any function. Some existing functions have been converted to use these types, others will follow later.
|
||||||
|
|
||||||
|
Changes to command buffers:
|
||||||
|
- `SyncCommandBuffer(Builder)` is merged into `*AutoCommandBuffer(Builder)`. The commands that formerly belonged to `SyncCommandBufferBuilder` are now available as `_unchecked` versions on `AutoCommandBufferBuilder`.
|
||||||
|
- Command buffers are now created with a wrapping `Arc` like other object types.
|
||||||
|
- The type parameter of `PrimaryCommandBuffer` and `SecondaryCommandBuffer` is now the allocator itself (like for the builder) rather than its allocation type.
|
||||||
|
- `UnsafeCommandBuffer(Builder)` now takes ownership of the command buffer allocation, and has a type parameter for the allocator.
|
||||||
|
|
||||||
### Additions
|
### Additions
|
||||||
|
|
||||||
- Vulkano-shaders: Added a `root_path_env` property to allow loading shaders generated by a build script.
|
- Vulkano-shaders: Added a `root_path_env` property to allow loading shaders generated by a build script.
|
||||||
|
Loading…
Reference in New Issue
Block a user