Skip to content

chore(deps): bump wgpu from 27.0.1 to 29.0.1#10073

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/cargo/dev/wgpu-29.0.1
Open

chore(deps): bump wgpu from 27.0.1 to 29.0.1#10073
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/cargo/dev/wgpu-29.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor

Bumps wgpu from 27.0.1 to 29.0.1.

Changelog

Sourced from wgpu's changelog.

v29.0.1 (2026-03-26)

This release includes wgpu-core, wgpu-hal and wgpu-types version 29.0.1. All other crates remain at their previous versions.

Bug Fixes

General

Metal

  • Added guards to avoid calling some feature detection methods that are not implemented on CaptureMTLDevice. By @​andyleiserson in #9284.
  • Fix a regression where buffer limits were too conservative. This comes at the cost of non-compliant WebGPU limit validation. A future major release will keep the relaxed buffer limits on native while allowing WebGPU-mandated validation to be opted in. See #9287.

GLES / OpenGL

  • Fix texture height initialized incorrectly in create_texture. By @​umajho in #9302.

Validation

  • Don't crash in the Display implementation of CreateTextureViewError::TooMany{MipLevels,ArrayLayers} when their base and offset overflow. By @​ErichDonGubler in #8808.

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.

... (truncated)

Commits
  • 923b896 Prepare patch release v29.0.1
  • 2fdeb13 Revert "[metal] fix limits"
  • 814eef1 Don't crash in the Display implementation of CreateTextureViewError::TooMany{...
  • fbaf66f fix(gles): texture height initialized incorrectly in create_texture (#9302)
  • 55bc84c fix(metal): Check respondsToSelector before feature detection calls (#9284)
  • 274d1b7 fix(core): implement value comparison for `Limits::max_inter_stage_shader_var...
  • 5f76b45 Remove example warning
  • 06e2c7d Release v29 (#9260)
  • e4dae05 Change get_current_texture output to a unified enum (#9257)
  • 41e85e7 docs(CHANGELOG): Minor cleanup (#9258)
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Rust language related security Security update This issue is for an update or upgrade. labels Apr 13, 2026
@github-actions

github-actions Bot commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
cargo/gpu-allocator 0.28.0 UnknownUnknown
cargo/objc2-metal 0.3.2 UnknownUnknown
cargo/raw-window-metal 1.1.0 UnknownUnknown
cargo/spirv 0.4.0+sdk-1.4.341.0 🟢 5.3
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 6Found 10/16 approved changesets -- score normalized to 6
Maintained🟢 1013 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Packaging🟢 10packaging workflow detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Fuzzing⚠️ 0project is not fuzzed
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
cargo/wgpu-core-deps-apple 29.0.3 🟢 6.9
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
License🟢 10license file detected
Fuzzing🟢 10project is fuzzed
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
cargo/wgpu-core-deps-emscripten 29.0.3 🟢 6.9
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
License🟢 10license file detected
Fuzzing🟢 10project is fuzzed
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • Cargo.lock

@dependabot dependabot Bot force-pushed the dependabot/cargo/dev/wgpu-29.0.1 branch from 25ed22d to f450160 Compare April 30, 2026 21:09
@h0lybyte

Copy link
Copy Markdown
Member

@dependabot rebase

@h0lybyte

Copy link
Copy Markdown
Member

Status: Blocked on Bevy 0.19

This bump cannot land standalone. bevy 0.18.1 hard-pins wgpu 27.0.1 via bevy_render, and apps/kbve/isometric/src-tauri/src/renderer.rs constructs wgpu::Device / Queue / Adapter / Instance from our direct wgpu dep and passes them into Bevy's RenderDevice::from(...), RenderQueue(...), etc. Different wgpu major versions = different crate identities = compile failure on those conversions.

wgpu 29 also introduces breaking API changes:

  • Surface::get_current_texture returns CurrentSurfaceTexture enum (no longer Result<SurfaceTexture, SurfaceError>)
  • SurfaceError removed
  • Suboptimal is now a variant of the new enum

Even if the type-identity issue were resolved, our custom renderer plugin would need adjustments.

Keeping this PR open — rebased — until Bevy 0.19 lands with wgpu 29 alignment. Tracking via #TBD (companion issue).

@h0lybyte

Copy link
Copy Markdown
Member

Tracking issue: #10980

Bumps [wgpu](https://github.com/gfx-rs/wgpu) from 27.0.1 to 29.0.1.
- [Release notes](https://github.com/gfx-rs/wgpu/releases)
- [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md)
- [Commits](gfx-rs/wgpu@wgpu-v27.0.1...wgpu-v29.0.1)

---
updated-dependencies:
- dependency-name: wgpu
  dependency-version: 29.0.1
  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/dev/wgpu-29.0.1 branch from f450160 to 2526c5b Compare May 15, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Rust language related security Security update This issue is for an update or upgrade.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant