LACT icon indicating copy to clipboard operation
LACT copied to clipboard

Update vulkano requirement from 0.26 to 0.30

Open dependabot[bot] opened this issue 2 years ago • 0 comments

Updates the requirements on vulkano to permit the latest version.

Release notes

Sourced from vulkano's releases.

v0.30.0

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from vulkano's changelog.

Version 0.30.0 (2022-07-20)

  • Breaking Removed the try_gpu_lock, increase_gpu_lock and unlock methods from the BufferAccess and ImageAccess traits. Locking is now implemented internally in UnsafeBuffer and UnsafeImage.
  • Breaking All check_buffer_access and check_image_access functions now take an UnsafeBuffer/UnsafeImage and a Range<DeviceSize>.
  • Breaking UnsafeCommandBufferBuilder::pipeline_barrier now takes a DependencyInfo. It will use vkCmdPipelineBarrier2 if supported.
  • Breaking The debug command buffer commands have been renamed to match Vulkan. They now take a DebugUtilsLabel value.
  • Breaking end_debug_utils_label is now unsafe, as it requires validation checks that are not implemented yet.
  • Breaking DebugCallback is renamed to DebugUtilsMessenger to match Vulkan, and now takes a DebugUtilsMessengerCreateInfo to construct. It is now unsafe to create, because the the callback cannot call any Vulkan API functions, which Vulkano is unable to check.
  • Breaking The copy, blit, clear, fill and update commands are completely rewritten, and now use Info structs to specify the parameters. They now allow you to specify multiple regions at once to copy, give you fill control over the image subresources, and also let you select image layouts.
  • Breaking The transfer_source and transfer_destination fields of BufferUsage and ImageUsage are renamed to transfer_src and transfer_dst to match Vulkan.
  • Breaking SubImage has been removed.
  • Breaking The conflict_key method on the BufferAccess and ImageAccess traits is removed.
  • Breaking ImageViewCreateInfo now has a single subresource_range field instead of separate fields for aspect, mip levels and array layers.
  • Breaking The aspects, mip_levels and array_layers methods of ImageViewAbstract are removed, and replaced with a single subresource_range method.
  • Breaking The current_mip_levels_access and current_array_layers_access methods of ImageAccess are removed.
  • Breaking begin_render_pass now takes a RenderPassBeginInfo struct.
  • Breaking ClearRect now has a single Range<u32> for array layers.
  • Breaking The fields of ClearAttachment::Color are now named.
  • Breaking The ImageClearValue trait is removed.
  • Breaking The various AutoCommandBufferBuilder constructors for secondary command buffers have been merged into one secondary function, which directly takes a CommandBufferInheritanceInfo value.
  • Breaking The render_pass values of GraphicsPipelineBuilder and CommandBufferInheritanceInfo have both been changed into an enum that selects between rendering with begin_render_pass and rendering with begin_rendering. They implement Into for easy conversion.
  • Breaking Added the missing rasterization_samples field to MultisampleState, which must be provided when doing multisampled rendering.
  • Breaking Renamed the ready method of Fence to is_signaled.
  • Breaking The set_depth_bounds parameter is now a single RangeInclusive instead of two separate f32, to match the type used on the DepthBoundsState struct.
  • Breaking Removed DeviceExtensions::required_extensions(). Required extensions such as khr_portability_subset are now enabled automatically when available.
  • Breaking Removed PhysicalDevice::required_extensions()
  • UnsafeCommandPoolCreateInfo and UnsafeCommandPoolCreationError interfaces exposed.
  • Fixed compile error in Vulkano-win on Android.
  • Added COVERAGE.md, a document detailing how much of Vulkan is currently covered by Vulkano.
  • Added debug utils commands to Queue.
  • Added Instance::with_debug_utils_messengers, to provide creation info for messengers that should be used at instance creation and destruction time. This function is also unsafe.
  • Added subresource_layers and subresource_range methods to UnsafeImage and ImageAccess to easily generate these types from an image.
  • Added support for the khr_copy_commands2 device extension.
  • Added the resolve_image command buffer command.
  • BufferViewAbstract now has a range method that returns the byte range of the underlying buffer that the view covers.
  • Added new enum value CheckDispatchError::ZeroLengthDimensions to be returned when dispatch() is called with dimension(s) of length zero.
  • Vulkano-shaders now supports raygen, anyhit, closesthit, miss, intersection and callable shaders.
  • Fix PresentFuture flushing twice if then_swapchain_present fails.
  • Added new enum value SwapchainCreationError::ImageExtentZeroLengthDimensions to be returned when at least one of the image extent's dimensions are zero.
  • Added support for dynamic rendering, and a triangle-v1_3 example demonstrating how it's used.
  • Fixed a bug where NonExhaustive implemented the Default trait and was therefore still constructable by the user.
  • Updated ash to 0.37.0+1.3.209.
  • Fixed bug in various Vulkan calls where the returned data might be incomplete.
  • Fixed bug that triggered an assert if a render pass had an attachment with Undefined initial layout.
  • Added an is_signaled method to FenceSignalFuture.
  • Add a simple general_purpose_image_view method to StorageImage for less verbose image view creation for e.g. intermediary render targets.
  • Add a vulkano_util crate to help reduce boilerplate in many use cases. VulkanoContext to hold access to device & instances, VulkanoWindows to organize windows and their renderers. VulkanoRenderer to hold the window and methods to acquire (swapchain) and present between which you are intended to execute your pipelines.
  • Add option to change PresentMode at runtime in vulkano_util with set_present_mode
  • Made ImageUsage constructor functions const.
  • Added intersection and max_count methods to SampleCounts, as well as a BitAnd implementation.

... (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[bot] avatar Jul 20 '22 16:07 dependabot[bot]