-
-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update rust dependencies related to winit and wgpu #14079
Closed
renovate
wants to merge
1
commit into
master
from
renovate/rust-dependencies-related-to-winit-and-wgpu
Closed
chore(deps): update rust dependencies related to winit and wgpu #14079
renovate
wants to merge
1
commit into
master
from
renovate/rust-dependencies-related-to-winit-and-wgpu
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⚠ Artifact update problemRenovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: Cargo.lock
File name: Cargo.lock
File name: Cargo.lock
|
renovate
bot
force-pushed
the
renovate/rust-dependencies-related-to-winit-and-wgpu
branch
from
November 20, 2023 01:56
79304c6
to
85f157a
Compare
renovate
bot
force-pushed
the
renovate/rust-dependencies-related-to-winit-and-wgpu
branch
from
November 20, 2023 02:11
85f157a
to
be26167
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
0.13.0
->0.14.1
0.9.0
->0.11.0
0.5.2
->0.6.0
0.17.1
->0.18.0
0.28.7
->0.29.3
Release Notes
gfx-rs/naga (naga)
v0.14.0
Compare Source
This is the last naga release where naga is part of its own repo. Future releases will be renumbered and hosted as part of the wgpu repo. Please see https://github.com/gfx-rs/wgpu/issues/4231 for more information!
GENERAL
rgb10a2uint
storage format. (#2525) @teoxoyldexp
. (#2449) @fornwallindexmap
to v2. (#2426) @daxpeddaAPI
UnaryOperator::Not
intoUnaryOperator::LogicalNot
&UnaryOperator::BitwiseNot
. (#2554) @teoxoyIsFinite
&IsNormal
relational functions. (#2532) @teoxoyPartialEq
onExpression
. (#2417) @robtfmFastIndexMap
forSpecialTypes::predeclared_types
. (#2495) @jimblandyCLI
--generate-debug-symbols
from anoption
to aswitch
. (#2472) @jimblandy.{vert,frag,comp}.glsl
files. (#2462) @eliemichelVALIDATOR
Capabilities::FLOAT64
for 64-bit floating-point literals. (#2567) @jimblandyCapabilities::CUBE_ARRAY_TEXTURES
. (#2530) @teoxoyFunction
andPrivate
variables beCONSTRUCTIBLE
. (#2545) @jimblandytextureSampleBias
is only used in the fragment stage. (#2515) @teoxoybinding_array
variable address space. (#2422) @teoxoyWGSL-IN
textureLoad
. (#2584) @teoxoyError::Other
intoError::Internal
, to help devs. (#2574) @jimblandybgra8unorm
storage format. (#2542 & #2550) @nicalouterProduct
built-in function. (#2535) @teoxoyi32
overload of thesign
built-in function. (#2463) @fornwallmodf
andfrexp
. (#2454) @fornwallall
&any
built-in functions. (#2445) @fornwall@workgroup_size()
. (#2435) @fornwalltexture{Load,Store}()
on arrayed textures. (#2432) @fornwallSPV-IN
Modf
&Frexp
and translateModfStruct
&FrexpStruct
to their IR equivalents. (#2527) @teoxoyCapability::ImageMSArray
&Capability::InterpolationFunction
. (#2529) @teoxoyOpImageQueries
to allow Uints. (#2404) @evahopGLSL-IN
modf
&frexp
. (#2527) @teoxoySPV-OUT
ClipDistance
&CullDistance
capabilities if necessary. (#2528) @teoxoynaga::back::spv::DebugInfo::file_name
to a&Path
. (#2501) @jimblandyBlock
decoration. (#2455) @TheoDulkaOpLoad
withNonUniform
(not the access chain) when loading images/samplers (resources in the Handle address space). (#2422) @teoxoyOpConstantNull
. (#2414) @evahopMSL-OUT
GLSL-OUT
frexp
. (#2504) @evahopWGSL-OUT
bevyengine/naga_oil (naga_oil)
v0.10.1
rust-windowing/raw-window-handle (raw-window-handle)
v0.6.0
Compare Source
NonNull
where appropriate, to avoid null pointer dereferences.empty
methods tonew
, and take parameters in most of those, to better match normal Rust semantics.HasRaw(Display/Window)Handle::raw_(display/window)_handle
returns a result indicating if fetching the window handle failed (#122).Active/ActiveHandle
types from the public API (#126).AppKitWindowHandle::ns_window
andUiKitWindowHandle::ui_window
since they can be retrieved from the view (#129).Copy
derive fromRawWindowHandle
andWindowHandle
(#140).PartialEq
,Eq
andHash
forWindowHandle
too. (#128)&mut T where T: <trait>
. (#130)wasm-bindgen
v0.2. They are locked behind thewasm-bindgen-0-2
feature. (#134)gfx-rs/wgpu (wgpu)
v0.18.0
Compare Source
For naga changelogs at or before v0.14.0. See naga's changelog.
Desktop OpenGL 3.3+ Support on Windows
We now support OpenGL on Windows! This brings support for a vast majority of the hardware that used to be covered by our DX11 backend. As of this writing we support OpenGL 3.3+, though there are efforts to reduce that further.
This allows us to cover the last 12 years of Intel GPUs (starting with Ivy Bridge; aka 3xxx), and the last 16 years of AMD (starting with Terascale; aka HD 2000) / NVidia GPUs (starting with Tesla; aka GeForce 8xxx).
By @Zoxc in #4248
Timestamp Queries Supported on Metal and OpenGL
Timestamp queries are now supported on both Metal and Desktop OpenGL. On Apple chips on Metal, they only support timestamp queries in command buffers or in the renderpass descriptor,
they do not support them inside a pass.
Metal: By @Wumpf in #4008
OpenGL: By @Zoxc in #4267
Render/Compute Pass Query Writes
Addition of the
TimestampWrites
type to compute and render pass descriptors to allow profiling on tilers which do not support timestamps inside passes.Added an example to demonstrate the various kinds of timestamps.
Additionally, metal now supports timestamp queries!
By @FL33TW00D & @wumpf in #3636.
Occlusion Queries
We now support binary occlusion queries! This allows you to determine if any of the draw calls within the query drew any pixels.
Use the new
occlusion_query_set
field onRenderPassDescriptor
to give a query set that occlusion queries will write to.let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { // ... + occlusion_query_set: Some(&my_occlusion_query_set), });
Within the renderpass do the following to write the occlusion query results to the query set at the given index:
These are binary occlusion queries, so the result will be either 0 or an unspecified non-zero value.
By @Valaphee in #3402
Shader Improvements
Shader Validation Improvements
RenderPass
StoreOp
is now Enumerationwgpu::Operations::store
used to be an underdocumented boolean value,causing misunderstandings of the effect of setting it to
false
.The API now more closely resembles WebGPU which distinguishes between
store
anddiscard
,see WebGPU spec on GPUStoreOp.
By @wumpf in #4147
Instance Descriptor Settings
The instance descriptor grew two more fields:
flags
andgles_minor_version
.flags
allow you to toggle the underlying api validation layers, debug information about shaders and objects in capture programs, and the ability to discard lablesgles_minor_version
is a rather niche feature that allows you to force the GLES backend to use a specific minor version, this is useful to get ANGLE to enable more than GLES 3.0.gles_minor_version
: By @PJB3005 in #3998flags
: By @nical in #4230Many New Examples!
Revamped Testing Suite
Our testing harness was completely revamped and now automatically runs against all gpus in the system, shows the expected status of every test, and is tolerant to flakes.
Additionally, we have filled out our CI to now run the latest versions of WARP and Mesa. This means we can test even more features on CI than before.
By @cwfitzgerald in #3873
The GLES backend is now optional on macOS
The
angle
feature flag has to be set for the GLES backend to be enabled on Windows & macOS.By @teoxoy in #4185
Added/New Features
Changes
General
DownlevelFlags::READ_ONLY_DEPTH_STENCIL
. By @teoxoy in #4031setViewport
valid usage forx
,y
andthis.[[attachment_size]]
. By @James2022-rgb in #4058wgpu::CreateSurfaceError
andwgpu::RequestDeviceError
now give details of the failure, but no longer implementPartialEq
and cannot be constructed. By @kpreid in #4066 and #4145WGPU_POWER_PREF=none
a valid value. By @fornwall in 4076Rgb10a2Uint
format. By @teoxoy in 4199DeviceError::Lost
instead ofDeviceError::Invalid
. By @bradwerth in #4238"strict_asserts"
feature enable check that wgpu-core's lock-ordering tokens are unique per thread. By @jimblandy in #4258DeviceLostClosure
callback mechanism provided so user agents can resolveGPUDevice.lost
Promises at the appropriate time by @bradwerth in #4645Vulkan
wgpu_hal::vulkan::Instance::required_extensions
todesired_extensions
. By @jimblandy in #4115vkFreeCommandBuffers
whenvkDestroyCommandPool
will take care of that for us. By @jimblandy in #4059DX12
gpu-allocator
to 0.23. By @Elabajaba in #4198Documentation
Features::TEXTURE_COMPRESSION_ASTC_HDR
in #4157Bug Fixes
General
naga::StorageAccess
instead ofnaga::GlobalUse
. By @teoxoy in #3985.Queue::on_submitted_work_done
callbacks will now always be called after all previousBufferSlice::map_async
callbacks, even when there are no active submissions. By @cwfitzgerald in #4036.clear
texture views being leaked whenwgpu::SurfaceTexture
is dropped before it is presented. By @rajveermalviya in #4057.Feature::SHADER_UNUSED_VERTEX_OUTPUT
to allow unused vertex shader outputs. By @Aaron1011 in #4116.surface_configure
. By @nical in #4220 and #4227Vulkan
wgpu::Features::PARTIALLY_BOUND_BINDING_ARRAY
not being actually enabled in vulkan backend. By @39ali in#3772.vk::InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR
unless theVK_KHR_portability_enumeration
extension is available. By @jimblandy in#4038.DX12
Features::VERTEX_WRITABLE_STORAGE
based on the right feature level. By @teoxoy in #4033.Metal
WebGPU
GLES
Documentation
RenderPass
and how render state works. By @kpreid in #4055Examples
wgpu-example::utils
module to contain misc functions and such that are common code but aren't part of the example framework. Add to it the functionsoutput_image_wasm
andoutput_image_native
, both for outputtingVec<u8>
RGBA images either to the disc or the web page. By @JustAnotherCodemonkey in #3885.capture
example as it had issues (did not run on wasm) and has been replaced byrender-to-texture
(see above). By @JustAnotherCodemonkey in #3885.v0.17.2
Compare Source
Bug Fixes
Vulkan
rust-windowing/winit (winit)
v0.29.3
Compare Source
PhysicalSize
passed inWindowBuilder::with_inner_size
when possible.RedrawRequsted
being always sent without decorations andsctk-adwaita
feature.configure_bounds
to constrainwith_inner_size
when compositor wants users to pick size.Cursor{Enter,Leave}
.Window::set_transparent
.Window::set_blur
.v0.29.2
Compare Source
1.60
to1.65
.Event::MemoryWarning
; implemented on iOS/Android.ndk
version to0.8.0
, ndk-sys to0.5.0
,android-activity
to0.5.0
.ControlFlow
fromPoll
toWait
.Event::RedrawRequested
toWindowEvent::RedrawRequested
.ControlFlow::Exit
toEventLoopWindowTarget::exit()
andEventLoopWindowTarget::exiting()
and removedControlFlow::ExitWithCode(_)
entirely.ControlFlow
toEventLoopWindowTarget::set_control_flow()
andEventLoopWindowTarget::control_flow()
.EventLoop::new
andEventLoopBuilder::build
now returnResult<Self, EventLoopError>
WINIT_UNIX_BACKEND
was removed in favor of standardWAYLAND_DISPLAY
andDISPLAY
variables.DeviceEvent::Text
.Event
andWindowEvent
.Window::set_inner_size
toWindow::request_inner_size
and indicate if the size was applied immediately.ActivationTokenDone
event which could be requested with the newstartup_notify
module, see its docs for more.ScaleFactorChanged
now contains a writer instead of a reference to update inner size.run() -> !
has been replaced byrun() -> Result<(), EventLoopError>
for returning errors without callingstd::process::exit()
(#2767)EventLoopExtRunReturn
/run_return
in favor ofEventLoopExtPumpEvents
/pump_events
andEventLoopExtRunOnDemand
/run_on_demand
(#2767)RedrawRequested
is no longer guaranteed to be emitted afterMainEventsCleared
, it is now platform-specific when the event is emitted after being requested viaredraw_request()
.RedrawRequested
is now driven byWM_PAINT
messages which are requested viaredraw_request()
LoopDestroyed
renamed toLoopExiting
(#2900)RedrawEventsCleared
removed (#2900)MainEventsCleared
removed (#2900)modifiers
fields.DeviceEventFilter
toDeviceEvents
reversing the behavior of variants.AboutToWait
event which is emitted when the event loop is about to block and wait for new events (#2900)EventLoopWindowTarget::set_device_event_filter
tolisten_device_events
.Window::set_ime_position
toWindow::set_ime_cursor_area
adding a way to set exclusive zone.with_x11_visual
now takes the visual ID instead of the bare pointer.MouseButton
now supportsBack
andForward
variants, emitted from mouse events on Wayland, X11, Windows, macOS and Web.instant
is now replaced byweb_time
.WindowEvent::Resized
.bitflags
crate version to2
, which changes the API on exposed types.CursorIcon::Arrow
was removed.CursorIcon::Hand
is now namedCursorIcon::Pointer
.CursorIcon
is now used from thecursor-icon
crate.WindowExtWebSys::canvas()
now returns anOption
.KeyboardInput
withKeyEvent
andRawKeyEvent
.WindowEvent::KeyboardInput
to contain aKeyEvent
.Event::Key
to contain aRawKeyEvent
.Event::ReceivedCharacter
. In its place, you should useKeyEvent.text
in combination withWindowEvent::Ime
.VirtualKeyCode
with theKey
enum.ScanCode
with theKeyCode
enum.ModifiersState::LOGO
toSUPER
andModifiersState::CTRL
toCONTROL
.PhysicalKey
wrappingKeyCode
andNativeKeyCode
.KeyCode
to refer to keys (roughly) by their physical location.NativeKeyCode
to represent rawKeyCode
s which Winit doesn'tunderstand.
Key
to represent the keys after they've been interpreted by theactive (software) keyboard layout.
NamedKey
to represent the categorized keys.NativeKey
to represent rawKey
s which Winit doesn't understand.KeyLocation
to tell apartKey
s which usually "mean" the same thing,but can appear simultaneously in different spots on the same keyboard
layout.
Window::reset_dead_keys
to enable application-controlled cancellationof dead key sequences.
KeyEventExtModifierSupplement
to expose additional (and lessportable) interpretations of a given key-press.
PhysicalKeyExtScancode
, which lets you convert between scancodes andPhysicalKey
.ModifiersChanged
now uses dedicatedModifiers
struct.raw-window-handle
trait implementations instead:platform::windows::HINSTANCE
.WindowExtWindows::hinstance
.WindowExtWindows::hwnd
.WindowExtIOS::ui_window
.WindowExtIOS::ui_view_controller
.WindowExtIOS::ui_view
.WindowExtMacOS::ns_window
.WindowExtMacOS::ns_view
.EventLoopWindowTargetExtWayland::wayland_display
.WindowExtWayland::wayland_surface
.WindowExtWayland::wayland_display
.WindowExtX11::xlib_window
.WindowExtX11::xlib_display
.WindowExtX11::xlib_screen_id
.WindowExtX11::xcb_connection
.raw-window-handle
inwindow
module.ElementState::is_pressed
.Window::pre_present_notify
to notify winit before presenting to the windowing system.Window::set_blur
to request a blur behind the window; implemented on Wayland for now.Window::show_window_menu
to request a titlebar/system menu; implemented on Wayland/Windows for now.AsFd
/AsRawFd
forEventLoop<T>
on X11 and Wayland.PartialOrd
andOrd
forMouseButton
.PartialOrd
andOrd
on types in thedpi
module.WindowBuilder
Send + Sync
.MonitorHandle
andVideoMode
usable from other threads.EventLoopBuilderExtAndroid::handle_volume_keys
to indicate that the application will handle the volume keys manually.DeviceId
to contain device id's.ModifiersChanged
not being sent.Window::outer_size
now accounts for client side decorations.Window::drag_resize_window
method.WINIT_WAYLAND_CSD_THEME
variable.TouchPhase::Canceled
being sent for moved events.Occluded
event with xdg-shell v6RedrawRequested
events so redraws will align with compositor.ControlFlow::WaitUntil
now uses the Prioritized Task Scheduling API.setTimeout()
, with a trick to circumvent throttling to 4ms, is used as a fallback.EventLoopProxy
now implementsSend
.Window
now implementsSend
andSync
.padding
,border
, andmargin
when getting or setting the canvas position.DeviceEvent::Motion
,DeviceEvent::MouseWheel
,DeviceEvent::Button
andDeviceEvent::Key
support.EventLoopWindowTargetExtWebSys
andPollStrategy
, which allows to set different strategies forControlFlow::Poll
. By default the Prioritized Task Scheduling API is used, but an option to useWindow.requestIdleCallback
is available as well. Both usesetTimeout()
, with a trick to circumvent throttling to 4ms, as a fallback.WindowBuilderExtWebSys::with_append()
to append the canvas element to the web page on creation.spawn
.ControlFlow::WaitUntil
to never wake up before the given time.DeviceEvent::MouseMotion
only being emitted for each canvas instead of the whole window.Window:::set_fullscreen
doing nothing when called outside the event loop but during transient activation.WindowBuilder
methods doing nothing.Window
methods using incorrect HTML attributes instead of CSS properties.beforeunload
event and map bfcache loading/unloading toSuspended
/Resumed
events.Window::focus_window()
.Window::set_(min|max)_inner_size()
.WindowEvent::Occluded
.MonitorHandle
.Window::is_dark_mode()
, which was replaced withWindow::theme()
.EventLoopWindowTarget::listen_device_events()
settings.Window.requestAnimationFrame()
to throttleRedrawRequested
events.Window::request_redraw
not waking the event loop when called from outside the loop.drag_resize_window
method support.DeviceEvent
.WindowBuilderExtWindows::with_class_name
to customize the internal class name.CursorEnter/Left
not being sent when grabbing the mouse.RedrawRequested
not being delivered when callingWindow::request_redraw
fromRedrawRequested
.windows-sys
version 0.48.0.with_embedded_parent_window
function to the window builder to allow embedding a window into another window.ControlFlow::Poll
andControlFlow::WaitUntil
.visual_id
in returnedraw-window-handle
.ControlFlow::Poll
toControlFlow::Poll
.WindowEvent::Occluded(false)
,WindowEvent::Occluded(true)
when application enters/leaves foreground.WindowExtMacOS
andEventLoopWindowTargetExtMacOS
.Globe
key.window.set_minimized(false)
.Window
.Configuration
📅 Schedule: Branch creation - "before 4am 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.