Skip to content

deps(deps): bump wgpu from 28.0.0 to 29.0.0#108

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/wgpu-29.0.0
Closed

deps(deps): bump wgpu from 28.0.0 to 29.0.0#108
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/wgpu-29.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 22, 2026

Bumps wgpu from 28.0.0 to 29.0.0.

Changelog

Sourced from wgpu's changelog.

v29.0.0 (2026-03-18)

Major Changes

Surface::get_current_texture now returns CurrentSurfaceTexture enum

Surface::get_current_texture no longer returns Result<SurfaceTexture, SurfaceError>. Instead, it returns a single CurrentSurfaceTexture enum that represents all possible outcomes as variants. SurfaceError has been removed, and the suboptimal field on SurfaceTexture has been replaced by a dedicated Suboptimal variant.

match surface.get_current_texture() {
    wgpu::CurrentSurfaceTexture::Success(frame) => { /* render */ }
    wgpu::CurrentSurfaceTexture::Timeout
      | wgpu::CurrentSurfaceTexture::Occluded => { /* skip frame */ }
    wgpu::CurrentSurfaceTexture::Outdated
      | wgpu::CurrentSurfaceTexture::Suboptimal(frame) => { /* reconfigure surface */ }
    wgpu::CurrentSurfaceTexture::Lost => { /* reconfigure surface, or recreate device if device lost */ }
    wgpu::CurrentSurfaceTexture::Validation => {
        /* Only happens if there is a validation error and you
           have registered a error scope or uncaptured error handler. */
    }
}

By @​cwfitzgerald, @​Wumpf, and @​emilk in #9141 and #9257.

InstanceDescriptor initialization APIs and display handle changes

A display handle represents a connection to the platform's display server (e.g. a Wayland or X11 connection on Linux). This is distinct from a window — a display handle is the system-level connection through which windows are created and managed.

InstanceDescriptor's convenience constructors (an implementation of Default and the static from_env_or_default method) have been removed. In their place are new static methods that force recognition of whether a display handle is used:

  • new_with_display_handle
  • new_with_display_handle_from_env
  • new_without_display_handle
  • new_without_display_handle_from_env

If you are using winit, this can be populated using EventLoop::owned_display_handle.

- InstanceDescriptor::default();
- InstanceDescriptor::from_env_or_default();
+ InstanceDescriptor::new_with_display_handle(Box::new(event_loop.owned_display_handle()));
+ InstanceDescriptor::new_with_display_handle_from_env(Box::new(event_loop.owned_display_handle()));

Additionally, DisplayHandle is now optional when creating a surface if a display handle was already passed to InstanceDescriptor. This means that once you've provided the display handle at instance creation time, you no longer need to pass it again for each surface you create.

By @​MarijnS95 in #8782

... (truncated)

Commits
  • 06e2c7d Release v29 (#9260)
  • e4dae05 Change get_current_texture output to a unified enum (#9257)
  • 41e85e7 docs(CHANGELOG): Minor cleanup (#9258)
  • 805c372 refactor(core): Interface::check_stage: use Iterator::zip for dimension c...
  • 2810e95 Update to winit 0.30 (#9089)
  • 9a3bba6 feat(tracing): Trace failed create_*_pipeline calls (#9209)
  • e6854ec fix(core): panic on overflow for set_immediate's params. not coercing to `u...
  • 854ed79 fix(core)!: validate set_immediate's values_offset param.
  • f165d20 fix(core)!: validate set_immediate's size_bytes param.
  • 2a3dd23 fix(core)!: properly handle end offset overrun for immediate data
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [wgpu](https://github.com/gfx-rs/wgpu) from 28.0.0 to 29.0.0.
- [Release notes](https://github.com/gfx-rs/wgpu/releases)
- [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md)
- [Commits](gfx-rs/wgpu@v28.0.0...v29.0.0)

---
updated-dependencies:
- dependency-name: wgpu
  dependency-version: 29.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Dependency updates rust Rust dependency updates labels Mar 22, 2026
@dependabot dependabot bot requested a review from FunKite as a code owner March 22, 2026 14:32
@dependabot dependabot bot added dependencies Dependency updates rust Rust dependency updates labels Mar 22, 2026
@FunKite
Copy link
Copy Markdown
Owner

FunKite commented Apr 2, 2026

Superseded by #111, which carries the same wgpu 29.0.0 upgrade plus the required backend compatibility fix and changelog update.

@FunKite FunKite closed this Apr 2, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 2, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/wgpu-29.0.0 branch April 2, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates rust Rust dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant