LACT
LACT copied to clipboard
Update vulkano requirement from 0.26 to 0.30
Updates the requirements on vulkano to permit the latest version.
Release notes
Sourced from vulkano's releases.
v0.30.0
What's Changed
- Export enum MemoryMapError by
@tutan-chromium
in vulkano-rs/vulkano#1861- Implement new locking for
UnsafeBuffer
andUnsafeImage
by@Rua
in vulkano-rs/vulkano#1860- Fix #1858 by
@Rua
in vulkano-rs/vulkano#1859- Use range-based state tracking for
SyncCommandBuffer
by@Rua
in vulkano-rs/vulkano#1862- Reorganize code of command buffer commands based on command type by
@Rua
in vulkano-rs/vulkano#1863- Re-export
UnsafeCommandPoolCreateInfo
andUnsafeCommandPoolCreationError
by@Rua
in vulkano-rs/vulkano#1866- Redundant unsafe block removed by
@Eliah-Lakhin
in vulkano-rs/vulkano#1867- Fix game of life example on macos by
@hakolao
in vulkano-rs/vulkano#1829- fix for android surface acquiring by
@Dimkar3000
in vulkano-rs/vulkano#1868- Allow
SyncCommandBufferBuilder
commands to specify the access range by@Rua
in vulkano-rs/vulkano#1869- Add document detailing how much of Vulkan is currently covered by Vulkano by
@Rua
in vulkano-rs/vulkano#1875- Rename debug commands, add some new ones by
@Rua
in vulkano-rs/vulkano#1878- Rewrite copy commands by
@Rua
in vulkano-rs/vulkano#1873- Fix debug utils message severity error by
@hakolao
in vulkano-rs/vulkano#1883- Use only the selected range of buffer and image views in synchronization by
@Rua
in vulkano-rs/vulkano#1880- Improve render pass commands, more validation by
@Rua
in vulkano-rs/vulkano#1884- Disallow dispatch calls with dimensions of zero-length by
@ryco117
in vulkano-rs/vulkano#1886- Cleanup physical.rs after last patch by
@maratik123
in vulkano-rs/vulkano#1887- Raytracing shaders with vulkano-shaders by
@Atilogit
in vulkano-rs/vulkano#1888- PresentFuture: Avoid flushing twice on flush error by
@LeonMatthes
in vulkano-rs/vulkano#1889- Device local example by
@ryco117
in vulkano-rs/vulkano#1890- Fixing Module comments that were accidentally changed by
@ryco117
in vulkano-rs/vulkano#1891- Image extent zero length by
@ryco117
in vulkano-rs/vulkano#1893- Add support for dynamic rendering by
@Rua
in vulkano-rs/vulkano#1902- Remove
Default
fromNonExhaustive
by@Rua
in vulkano-rs/vulkano#1903- Update dependencies by
@Rua
in vulkano-rs/vulkano#1904- Fix #1881 by
@Rua
in vulkano-rs/vulkano#1905- fix errors I noticed in readme by
@coolbot123
in vulkano-rs/vulkano#1906- Fix #1894 by
@Rua
in vulkano-rs/vulkano#1908- Refactor query commands by
@Rua
in vulkano-rs/vulkano#1909- Add
is_signaled
toFenceSignalFuture
by@Rua
in vulkano-rs/vulkano#1910- Refactor dynamic state commands by
@Rua
in vulkano-rs/vulkano#1911- Vulkano util proposal by
@hakolao
in vulkano-rs/vulkano#1918- Allow setting present mode in vulkano util's window renderer by
@hakolao
in vulkano-rs/vulkano#1922- Documentation todos by
@JMicheli
in vulkano-rs/vulkano#1920const
ness ofImageUsage
constructors and more utility methods forSampleCounts
by@marcot1cs
in vulkano-rs/vulkano#1924- Support for VK_KHR_portability_subset Devices by
@AustinJ235
in vulkano-rs/vulkano#1927- Move RangeMap into Vulkano by
@AustinJ235
in vulkano-rs/vulkano#1928- Release 0.30 by
@AustinJ235
in vulkano-rs/vulkano#1929New Contributors
@tutan-chromium
made their first contribution in vulkano-rs/vulkano#1861@Dimkar3000
made their first contribution in vulkano-rs/vulkano#1868@ryco117
made their first contribution in vulkano-rs/vulkano#1886@maratik123
made their first contribution in vulkano-rs/vulkano#1887@Atilogit
made their first contribution in vulkano-rs/vulkano#1888@LeonMatthes
made their first contribution in vulkano-rs/vulkano#1889@coolbot123
made their first contribution in vulkano-rs/vulkano#1906
... (truncated)
Changelog
Sourced from vulkano's changelog.
Version 0.30.0 (2022-07-20)
- Breaking Removed the
try_gpu_lock
,increase_gpu_lock
andunlock
methods from theBufferAccess
andImageAccess
traits. Locking is now implemented internally inUnsafeBuffer
andUnsafeImage
.- Breaking All
check_buffer_access
andcheck_image_access
functions now take anUnsafeBuffer
/UnsafeImage
and aRange<DeviceSize>
.- Breaking
UnsafeCommandBufferBuilder::pipeline_barrier
now takes aDependencyInfo
. It will usevkCmdPipelineBarrier2
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 nowunsafe
, as it requires validation checks that are not implemented yet.- Breaking
DebugCallback
is renamed toDebugUtilsMessenger
to match Vulkan, and now takes aDebugUtilsMessengerCreateInfo
to construct. It is nowunsafe
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
andtransfer_destination
fields ofBufferUsage
andImageUsage
are renamed totransfer_src
andtransfer_dst
to match Vulkan.- Breaking
SubImage
has been removed.- Breaking The
conflict_key
method on theBufferAccess
andImageAccess
traits is removed.- Breaking
ImageViewCreateInfo
now has a singlesubresource_range
field instead of separate fields for aspect, mip levels and array layers.- Breaking The
aspects
,mip_levels
andarray_layers
methods ofImageViewAbstract
are removed, and replaced with a singlesubresource_range
method.- Breaking The
current_mip_levels_access
andcurrent_array_layers_access
methods ofImageAccess
are removed.- Breaking
begin_render_pass
now takes aRenderPassBeginInfo
struct.- Breaking
ClearRect
now has a singleRange<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 onesecondary
function, which directly takes aCommandBufferInheritanceInfo
value.- Breaking The
render_pass
values ofGraphicsPipelineBuilder
andCommandBufferInheritanceInfo
have both been changed into an enum that selects between rendering withbegin_render_pass
and rendering withbegin_rendering
. They implementInto
for easy conversion.- Breaking Added the missing
rasterization_samples
field toMultisampleState
, which must be provided when doing multisampled rendering.- Breaking Renamed the
ready
method ofFence
tois_signaled
.- Breaking The
set_depth_bounds
parameter is now a singleRangeInclusive
instead of two separatef32
, to match the type used on theDepthBoundsState
struct.- Breaking Removed
DeviceExtensions::required_extensions()
. Required extensions such askhr_portability_subset
are now enabled automatically when available.- Breaking Removed
PhysicalDevice::required_extensions()
UnsafeCommandPoolCreateInfo
andUnsafeCommandPoolCreationError
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 alsounsafe
.- Added
subresource_layers
andsubresource_range
methods toUnsafeImage
andImageAccess
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 arange
method that returns the byte range of the underlying buffer that the view covers.- Added new enum value
CheckDispatchError::ZeroLengthDimensions
to be returned whendispatch()
is called with dimension(s) of length zero.- Vulkano-shaders now supports
raygen
,anyhit
,closesthit
,miss
,intersection
andcallable
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 theDefault
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 toFenceSignalFuture
.- Add a simple
general_purpose_image_view
method toStorageImage
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 toacquire
(swapchain) andpresent
between which you are intended to execute your pipelines.- Add option to change
PresentMode
at runtime invulkano_util
withset_present_mode
- Made
ImageUsage
constructor functionsconst
.- Added
intersection
andmax_count
methods toSampleCounts
, as well as aBitAnd
implementation.
... (truncated)
Commits
6a8ee8d
Release 0.30 (#1929)a387b40
Move RangeMap into Vulkano (#1928)6d9744c
#1927 changelogdf97b2c
Support for VK_KHR_portability_subset Devices (#1927)50c02e4
#1924 changelog4d9711f
const
ness ofImageUsage
constructors and more utility methods for `Sample...e8cf282
Documentation todos (#1920)5e298d6
Allow setting present mode in vulkano util's window renderer (#1922)18f6833
Vulkano util proposal (#1918)3ae9ec0
#1911 Changelog Update- Additional commits viewable in compare view
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)