Skip to content

deps: bump wgpu from 28.0.0 to 29.0.0#347

Merged
telecos merged 8 commits intomainfrom
dependabot/cargo/wgpu-29.0.0
Mar 23, 2026
Merged

deps: bump wgpu from 28.0.0 to 29.0.0#347
telecos merged 8 commits intomainfrom
dependabot/cargo/wgpu-29.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 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)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 23, 2026

Labels

The following labels could not be found: rust. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
Copy link

🔔 This is a major version update that may contain breaking changes. Please review and merge manually after verifying compatibility.

@github-actions
Copy link

github-actions bot commented Mar 23, 2026

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit b4268db. ± Comparison against base commit 4fbba63.

♻️ This comment has been updated with latest results.

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 force-pushed the dependabot/cargo/wgpu-29.0.0 branch from 29c15a4 to 415701f Compare March 23, 2026 21:51
@telecos
Copy link
Owner

telecos commented Mar 23, 2026

@copilot fix failing CI

@github-actions
Copy link

🔔 This is a major version update that may contain breaking changes. Please review and merge manually after verifying compatibility.

Copy link
Contributor

Copilot AI commented Mar 23, 2026

@telecos I've opened a new pull request, #350, to work on those changes. Once the pull request is ready, I'll request review from you.

@dependabot dependabot bot force-pushed the dependabot/cargo/wgpu-29.0.0 branch from 415701f to a148be1 Compare March 23, 2026 22:03
@github-actions
Copy link

🔔 This is a major version update that may contain breaking changes. Please review and merge manually after verifying compatibility.

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 force-pushed the dependabot/cargo/wgpu-29.0.0 branch from a148be1 to 970121b Compare March 23, 2026 22:16
@github-actions
Copy link

🔔 This is a major version update that may contain breaking changes. Please review and merge manually after verifying compatibility.

Copilot AI and others added 2 commits March 23, 2026 22:24
@telecos
Copy link
Owner

telecos commented Mar 23, 2026

@claude[agent] fix the failing CI

@Claude
Copy link
Contributor

Claude AI commented Mar 23, 2026

@telecos I've opened a new pull request, #351, to work on those changes. Once the pull request is ready, I'll request review from you.

Claude AI and others added 2 commits March 23, 2026 23:08
- Wrap bind_group_layouts with Some() in lighting_shadows example
- Update BufferViewMut usage to use copy_from_slice() method

Co-authored-by: telecos <8853689+telecos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/telecos/wgpu_playground/sessions/b6484fcb-2696-4b95-b23a-9504ad32c026
fix: update code for wgpu 29.0.0 API changes
@telecos telecos merged commit 1404059 into main Mar 23, 2026
28 of 29 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/wgpu-29.0.0 branch March 23, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants