Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Updates the requirements on vulkano to permit the latest version.

Changelog

Sourced from vulkano's changelog.

Version 0.23.0 (2021-04-10)

  • Breaking Changes to command buffers:
    • AutoCommandBuffer and the CommandBuffer trait have been split in two, one for primary and the other for secondary command buffers. AutoCommandBufferBuilder remains one type, but has a type parameter for the level of command buffer it will be creating, and some of its methods are only implemented for builders that create PrimaryAutoCommandBuffer.
    • The Flags enum is renamed to CommandBufferUsage, and is exported from the main command_buffer module. The None variant is renamed to MultipleSubmit.
    • Simplified the number of constructors on AutoCommandBufferBuilder by adding a CommandBufferUsage parameter.
    • Kind has been renamed to CommandBufferLevel, and for secondary command buffers it now contains a single CommandBufferInheritance value.
    • CommandBufferInheritance::occlusion_query and UnsafeCommandBufferBuilder::begin_query now take QueryControlFlags instead of a boolean.
  • Breaking The non-default constructors of ImageView have been replaced with a builder, created with ImageView::start(image).
  • Breaking Added support for component mapping/swizzling on image views.
    • image::Swizzle is moved and renamed to image::view::ComponentMapping. It now has an is_identity method.
    • A non-default component mapping can now be specified for image views, via the new builder. A ComponentMapping parameter has been added to UnsafeImageView as well.
    • The identity_swizzle method on the ImageViewAbstract trait has been replaced with component_mapping, which returns a ComponentMapping directly.
    • Storage image and input attachment descriptors now check for identity swizzling when being built.
  • Breaking Major rearranging of framebuffer and render pass-related types:
    • The framebuffer module is renamed to render_pass.
    • RenderPassDesc is now a struct, not a trait. The methods have been simplified, returning a slice reference to the attachments, subpasses and dependencies.
      • Renamed: AttachmentDescription > AttachmentDesc, PassDescription > SubpassDesc, PassDependencyDescription > SubpassDependencyDesc.
      • EmptySinglePassRenderPassDesc is replaced with the RenderPassDesc::empty constructor, or its Default implementation.
      • The RenderPassCompatible, RenderPassDescClearValues and RenderPassSubpassInterface traits are removed, their functionality is moved to RenderPassDesc.
    • RenderPass takes a concrete RenderPassDesc value for construction, and no longer has a type parameter.
      • The RenderPassAbstract trait is removed.
      • GraphicsPipeline and Framebuffer no longer have a render pass type parameter.
      • GraphicsPipelineAbstract and FramebufferAbstract have trait methods to retrieve the render pass instead.
    • The ordered_passes_renderpass! and single_pass_renderpass! macros are unchanged externally.
  • Support for queries:
    • Breaking UnsafeQueryPool, UnsafeQuery and UnsafeQueriesRange have Unsafe removed from their names.
    • Breaking QueriesRange is now represented with a standard Rust Range in its API.
    • Breaking The secondary command buffer constructors that have parameters for queries will check if the corresponding features are enabled, and return a different error type.
    • Removed OcclusionQueriesPool, which was incomplete and never did anything useful.
    • get_results has been added to QueriesRange, to copy query results to the CPU.
    • The following functions have been added to both SyncCommandBufferBuilder and AutoCommandBufferBuilder: begin_query (still unsafe), end_query (safe), write_timestamp (still unsafe), copy_query_pool_results (safe), reset_command_pool (still unsafe).
    • Better documentation of everything in the query module.
    • An example demonstrating occlusion queries.
  • Breaking Improved the handling of image aspects a little, with the enum ImageAspect and the struct ImageAspects. UnsafeCommandBufferBuilderImageAspect has been removed.
  • Breaking Removed the separate structs for each image format. Now, only the Format enum exists.
    • Traits that no longer make sense in this context have been removed: FormatDesc, the Possible*FormatDesc traits, StrongStorage.
    • In types that had a type parameter for the format type, it has been removed.
    • AcceptsPixels has been converted to Pixel, which is implemented on the pixel type rather than on the format type.
  • Breaking shader! will generate descriptor information for all variables declared in the shader module, even if they are not used. This reverts the default behavior from the last release.
    • Breaking Added the exact_entrypoint_interface option to shader! to force vulkano to only generate descriptor information for variables that are used. (the default behavior from the last release)
  • Breaking AccessFlagBits is renamed to AccessFlags.
  • Breaking Minor refactor of UnsafeBuffer:
    • Replaced the various usage functions with a single usage function, mirroring the change made earlier to UnsafeImage.
    • The SparseLevel::sparse member is removed, and UnsafeBuffer::new takes Option<SparseLevel> instead.
  • Breaking Swapchain is now constructed using a builder. Swapchain::start will start building a new blank swapchain. Calling recreate on an existing swapchain will create a builder filled with all the properties of the old swapchain.
  • Added two methods to Format: planes to query the number of planes in the format, and aspects to query what aspects an image of this type has.
  • The deprecated cause trait function on Vulkano error types is replaced with source.
  • Fixed bug in descriptor array layers check when the image is a cubemap.
  • Vulkano-shaders: Fixed and refined the generation of the readonly descriptor attribute. It should now correctly mark uniforms and sampled images as read-only, but storage buffers and images only if explicitly marked as readonly in the shader.

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [vulkano](https://github.com/vulkano-rs/vulkano) to permit the latest version.
- [Release notes](https://github.com/vulkano-rs/vulkano/releases)
- [Changelog](https://github.com/vulkano-rs/vulkano/blob/master/CHANGELOG_VULKANO.md)
- [Commits](vulkano-rs/vulkano@v0.21.0...v0.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 11, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #49.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/vulkano-0.23.0 branch June 21, 2021 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant