chore(deps): update all non-major depedencies #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
20.10.8
->20.11.6
20.11.7
18.2.47
->18.2.48
1.0.75
->1.0.79
2.1.0
->2.1.1
0.21.5
->0.21.7
0.5.10
->0.5.11
14.0.4
->14.1.0
0.3.29
->0.3.30
14.0.5-canary.65
->14.1.0
20.10.0
->20.11.0
8.14.0
->8.14.3
0.17.2
->0.19.1
Release Notes
dtolnay/anyhow (anyhow)
v1.0.79
Compare Source
v1.0.78
Compare Source
v1.0.77
Compare Source
anyhow::Error::backtrace
available on stable Rust compilers 1.65+ (#293, thanks @LukasKalbertodt)v1.0.76
Compare Source
unsafe_op_in_unsafe_fn
lint (#329)smol-rs/async-channel (async-channel)
v2.1.1
Compare Source
event-listener
to v4.0.0. (#73)marshallpierce/rust-base64 (base64)
v0.21.7
Compare Source
Alphabet::as_str()
v0.21.6
Compare Source
crossbeam-rs/crossbeam (crossbeam-channel)
v0.5.11
: crossbeam-channel 0.5.11Compare Source
cfg-if
. (#1072)vercel/next.js (eslint-config-next)
v14.1.0
Compare Source
rust-lang/futures-rs (futures)
v0.3.30
Compare Source
{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of
(#2797)FuturesUnordered::clear
(#2809)AsyncBufReadExt::fill_buf
(#2801, #2812)vercel/next.js (next)
v14.1.0
Compare Source
v14.0.5-canary.68
Compare Source
Core Changes
Credits
Huge thanks to @huozhi for helping!
v14.0.5-canary.67
Compare Source
Core Changes
next/headers
: #60817browserslist
andcaniuse-lite
: #60827generateStaticParams
withoutput:export
": #60831Documentation Changes
Credits
Huge thanks to @balazsorban44, @StephDietz, @huozhi, @styfle, @delbaoliveira, @ForsakenHarmony, @leerob, and @ijjk for helping!
v14.0.5-canary.66
Compare Source
Core Changes
unstable_getImgProps()
=>getImageProps()
: #60739normalize-catchall-routes
test case: #60777Misc Changes
Credits
Huge thanks to @styfle, @shuding, @dvoytenko, @williamli, @timneutkens, and @huozhi for helping!
nodejs/node (node)
v20.11.0
Compare Source
pnpm/pnpm (pnpm)
v8.14.3
Compare Source
Patch Changes
pnpm pack
should work as expected when "prepack" modifies the manifest #7558.Platinum Sponsors
Gold Sponsors
Our Silver Sponsors
v8.14.2
Compare Source
Patch Changes
pnpm dlx
should not fail, when executed frompackage.json
"scripts" 7424.pnpm publish
should pack "main" file or "bin" files defined in "publishConfig" #4195.Platinum Sponsors
Gold Sponsors
Our Silver Sponsors
v8.14.1
Compare Source
Patch Changes
pnpm publish
#7316.hoisted-workspace-packages
istrue
don't hoist the root package even if it has a name. Otherwise we would create a circular symlink.Our Gold Sponsors
Our Silver Sponsors
gfx-rs/wgpu (wgpu)
v0.19.1
Compare Source
This release includes
wgpu
andwgpu-hal
. The rest of the crates are unchanged since 0.19.0.Bug Fixes
DX12
OpenGL
WebGPU
web_sys_unstable_apis
set. By @rukai in #5104Documentation
SurfaceTexture::present
. By @i509VCB in #5093.v0.19.0
Compare Source
This release includes:
wgpu
wgpu-core
wgpu-hal
wgpu-types
wgpu-info
naga
(skipped from 0.14 to 0.19)naga-cli
(skipped from 0.14 to 0.19)d3d12
(skipped from 0.7 to 0.19)Improved Multithreading through internal use of Reference Counting
Large refactoring of wgpu’s internals aiming at reducing lock contention, and providing better performance when using wgpu on multiple threads.
Check the blog post!
By @gents83 in #3626 and thanks also to @jimblandy, @nical, @Wumpf, @Elabajaba & @cwfitzgerald
All Public Dependencies are Re-Exported
All of wgpu's public dependencies are now re-exported at the top level so that users don't need to take their own dependencies.
This includes:
Feature Flag Changes
WebGPU & WebGL in the same Binary
Enabling
webgl
no longer removes thewebgpu
backend.Instead, there's a new (default enabled)
webgpu
feature that allows to explicitly opt-out ofwebgpu
if so desired.If both
webgl
&webgpu
are enabled,wgpu::Instance
decides upon creation whether to target wgpu-core/WebGL or WebGPU.This means that adapter selection is not handled as with regular adapters, but still allows to decide at runtime whether
webgpu
or thewebgl
backend should be used using a single wasm binary.By @wumpf in #5044
naga-ir
Dedicated FeatureThe
naga-ir
feature has been added to allow you to add naga module shaders without guessing about what other features needed to be enabled to get access to it.By @cwfitzgerald in #5063.
expose-ids
Feature available unconditionallyThis feature allowed you to call
global_id
on any wgpu opaque handle to get a unique hashable identity for the given resource. This is now available without the feature flag.By @cwfitzgerald in #4841.
dx12
andmetal
Backend Crate Featureswgpu now exposes backend feature for the Direct3D 12 (
dx12
) and Metal (metal
) backend. These are enabled by default, but don't do anything when not targeting the corresponding OS.By @daxpedda in #4815.
Direct3D 11 Backend Removal
This backend had no functionality, and with the recent support for GL on Desktop, which allows wgpu to run on older devices, there was no need to keep this backend.
By @valaphee in #4828.
WGPU_ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER
Environment VariableThis adds a way to allow a Vulkan driver which is non-compliant per
VK_KHR_driver_properties
to be enumerated. This is intended for testing new Vulkan drivers which are not Vulkan compliant yet.By @i509VCB in #4754.
DeviceExt::create_texture_with_data
allows Mip-Major DataPreviously,
DeviceExt::create_texture_with_data
only allowed data to be provided in layer major order. There is now aorder
parameter which allows you to specify if the data is in layer major or mip major order.let tex = ctx.device.create_texture_with_data( &queue, &descriptor, + wgpu::util::TextureDataOrder::LayerMajor, src_data, );
By @cwfitzgerald in #4780.
Safe & unified Surface Creation
It is now possible to safely create a
wgpu::Surface
withwgpu::Instance::create_surface()
by lettingwgpu::Surface
hold a lifetime towindow
.Passing an owned value
window
toSurface
will return awgpu::Surface<'static>
.All possible safe variants (owned windows and web canvases) are grouped using
wgpu::SurfaceTarget
.Conversion to
wgpu::SurfaceTarget
is automatic for any type implementingraw-window-handle
'sHasWindowHandle
&HasDisplayHandle
traits, i.e. most window types.For web canvas types this has to be done explicitly:
All unsafe variants are now grouped under
wgpu::Instance::create_surface_unsafe
which takes thewgpu::SurfaceTargetUnsafe
enum and always returnswgpu::Surface<'static>
.In order to create a
wgpu::Surface<'static>
without passing ownership of the window usewgpu::SurfaceTargetUnsafe::from_window
:The easiest way to make this code safe is to use shared ownership:
All platform specific surface creation using points have moved into
SurfaceTargetUnsafe
as well.For example:
Safety by @daxpedda in #4597
Unification by @wumpf in #4984
Add partial Support for WGSL Abstract Types
Abstract types make numeric literals easier to use, by
automatically converting literals and other constant expressions
from abstract numeric types to concrete types when safe and
necessary. For example, to build a vector of floating-point
numbers, Naga previously made you write:
With this change, you can now simply write:
Even though the literals are abstract integers, Naga recognizes
that it is safe and necessary to convert them to
f32
values inorder to build the vector. You can also use abstract values as
initializers for global constants and global and local variables,
like this:
The literals
1
and0
are abstract integers, and the expressionvec2(1, 0)
is an abstract vector. However, Naga recognizes thatit can convert that to the concrete type
vec2<f32>
to satisfythe given type of
unit_x
.The WGSL specification permits abstract integers and
floating-point values in almost all contexts, but Naga's support
for this is still incomplete. Many WGSL operators and builtin
functions are specified to produce abstract results when applied
to abstract inputs, but for now Naga simply concretizes them all
before applying the operation. We will expand Naga's abstract type
support in subsequent pull requests.
As part of this work, the public types
naga::ScalarKind
andnaga::Literal
now have new variants,AbstractInt
andAbstractFloat
.By @jimblandy in #4743, #4755.
Instance::enumerate_adapters
now returnsVec<Adapter>
instead of anExactSizeIterator
This allows us to support WebGPU and WebGL in the same binary.
By @wumpf in #5044
device.poll()
now returns aMaintainResult
instead of abool
This is a forward looking change, as we plan to add more information to the
MaintainResult
in the future.This enum has the same data as the boolean, but with some useful helper functions.
By @cwfitzgerald in #5053
New Features
General
DownlevelFlags::VERTEX_AND_INSTANCE_INDEX_RESPECTS_RESPECTIVE_FIRST_VALUE_IN_INDIRECT_DRAW
to know if@builtin(vertex_index)
and@builtin(instance_index)
will respect thefirst_vertex
/first_instance
in indirect calls. If this is not present, both will always start counting from 0. Currently enabled on all backends except DX12. By @cwfitzgerald in #4722.FLOAT32_FILTERABLE
feature (web and native, corresponds to WebGPU'sfloat32-filterable
). By @almarklein in #4759.TextureFormat::block_size
is deprecated, useTextureFormat::block_copy_size
instead: By @wumpf in #4647.DispatchIndirect
,DrawIndexedIndirect
, andDrawIndirect
types in thewgpu::util
module toDispatchIndirectArgs
,DrawIndexedIndirectArgs
, andDrawIndirectArgs
. By @cwfitzgerald in #4723.encoder.clear_buffer
anOption<u64>
instead ofOption<NonZero<u64>>
. By @nical in #4737.info
log level noise. By @nical in #4769, #4711 and #4772features
&limits
fields ofDeviceDescriptor
torequired_features
&required_limits
. By @teoxoy in #4803.SurfaceConfiguration
now exposesdesired_maximum_frame_latency
which was previously hard-coded to 2. By setting it to 1 you can reduce latency under the risk of making GPU & CPU work sequential. Currently, on DX12 this affects theMaximumFrameLatency
, on all other backends except OpenGL the size of the swapchain (on OpenGL this has no effect). By @emilk & @wumpf in #4899OpenGL
@builtin(instance_index)
now properly reflects the range provided in the draw call instead of always counting from 0. By @cwfitzgerald in #4722.POLYGON_MODE_LINE
andPOLYGON_MODE_POINT
. By @valaphee in #4836.Naga
1.0lf
denotes anf64
value. There has been experimental support for anf64
type for a while, but until now there was no syntax for writing literals with that type. As before, Naga module validation rejectsf64
values unlessnaga::valid::Capabilities::FLOAT64
is requested. By @jimblandy in #4747.--bulk-validate
option to Naga CLI. By @jimblandy in #4871.cargo xtask validate
now runs validation jobs in parallel, using the jobserver protocol to limit concurrency, and offers avalidate all
subcommand, which runs all available validation types. By @jimblandy in #4902.span
andvalidate
features. Always fully validate shader modules, and always track source positions for use in error messages. By @teoxoy in #4706.Scalar
struct type for use in Naga's IR, and update all frontend, middle, and backend code appropriately. By @jimblandy in #4673.naga::Literal
variant,I64
, for signed 64-bit literals. #4711.struct
member padding always. By @ErichDonGubler in #4701.i
suffix oni32
literals. By @jimblandy in #4863.f
suffix onf32
literals. By @jimblandy in #4869.Bug Fixes
General
BufferMappedRange
trait is nowWasmNotSendSync
, i.e. it isSend
/Sync
if not on wasm orfragile-send-sync-non-atomic-wasm
is enabled. By @wumpf in #4818.wgpu_types::CompositeAlphaMode
serde serialization to spec. By @littledivy in #4940.ConfigureSurfaceError::TooLarge
. By @Dinnerbone in #4960.DeviceLostCallbackC
params. By @bradwerth in #5032.DX12
Queue::write_texture
on DX12. By @DTZxPorter in #4990.Vulkan
VK_EXT_robustness2
only when not using an outdated intel iGPU driver. By @TheoDulka in #4602.WebGPU
BufferSlice::get_mapped_range
multiple times on the same buffer slice (instead of throwing a Javascript exception). By @DouglasDwyer in #4726.WGL
wgpu::Instance
instead of sharing a global one. By @Zoxc in [#4603](https://togithub.com/gfx-rs/wgpuConfiguration
📅 Schedule: Branch creation - "after 5pm on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.