Skip to content

Bump wgpu from 29.0.4 to 30.0.1 - #8

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wgpu-30.0.1
Closed

Bump wgpu from 29.0.4 to 30.0.1#8
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wgpu-30.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps wgpu from 29.0.4 to 30.0.1.

Changelog

Sourced from wgpu's changelog.

v30.0.1 (2026-08-21)

Bug Fixes

Vulkan

  • Stop passing an un-waited fence to vkAcquireNextImageKHR on non-Windows platforms, which triggered VUID-vkAcquireNextImageKHR-fence-10066 validation errors every frame since v30.0.0. By @​ErichDonGubler in #9855.

Metal

WebGPU

  • Upgrade vendored WebGPU bindings and wasm-bindgen to 0.2.127. This fixes a panic “can't access property "info", arg0 is null” when using the WebGPU backend and requestAdapter() fails. By @​beicause in #10034, backported in #10105.

v30.0.0 (2026-07-01)

Major changes

Optional vertex buffer slots

This allows gaps in VertexState's buffers and adds support for unbinding vertex buffers, bringing us in compliance with the WebGPU spec. As a result of this, VertexState's buffers field now has type of &[Option<VertexBufferLayout>]. To migrate, wrap vertex buffer layouts in Some:

  let vertex_state = wgpu::VertexState {
      module: &vs_module,
      entry_point: Some("vs_main"),
      compilation_options: wgpu::PipelineCompilationOptions::default(),
      buffers: &[
-         &vertex_buffer_layout
+         Some(&vertex_buffer_layout)
      ],
  };

By @​teoxoy in #9351.

Integer shader I/O no longer defaults to @interpolate(flat)

To align with the shading language specifications, naga no longer assumes that integer-typed shader I/O should have flat interpolation, i.e., should not be interpolated. Even though flat interpolation is the only choice for integer I/O, it must be still specified explicitly.

WGSL:

 struct FragmentInput {
     @location(0) tex_coord: vec2<f32>,
-    @location(1) index: i32,
+    @location(1) @interpolate(flat) index: i32,
 }
</tr></table> 

... (truncated)

Commits
  • 40f4a34 Release v30.0.1
  • 5e1084c fix(metal): Resolve some color space constants dynamically (#9819)
  • 8bc5e2b Backport "Re-vendor WebGPU bindings (#10034)" to v30. (#10105)
  • 42738aa backport: fix: use vk::Fence::null on non-Windows swapchain (#9918)
  • 1464540 Remove example warning
  • 8bf3e5f Update to v30 (#9790)
  • aa2b790 [core] filter native-only features and limits if
  • 2ea3a1d [vulkan] advertise DownlevelFlags::SURFACE_VIEW_FORMATS if `VK_KHR_swapchai...
  • 69e66d8 add DENO_WEBGPU_STRICT_COMPLIANCE and set it for the CTS job
  • 995ee7b add Limits::max_buffers_and_acceleration_structures_per_shader_stage
  • 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 29.0.4 to 30.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@v29.0.4...v30.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 1, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #13.

@dependabot dependabot Bot closed this Sep 3, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/wgpu-30.0.1 branch September 3, 2026 00:37
stoatworks-labs added a commit that referenced this pull request Sep 3, 2026
Five majors. wgpu 30 and egui 0.36 both needed real changes; glam, rfd and
quick-xml needed none.

wgpu 30, five separate breaks:
  - RequestAdapterOptions gained `apply_limit_buckets` (defaulted).
  - SurfaceConfiguration gained `color_space`; SurfaceColorSpace::Auto is
    documented as reproducing the previous behaviour exactly.
  - VertexState::buffers is now &[Option<VertexBufferLayout>].
  - SurfaceTexture::present() moved onto Queue as queue.present(texture).
  - BufferSlice::get_mapped_range() returns Result. read_rgba is infallible by
    signature and polls to completion first, so this is .expect() on a broken
    invariant rather than an error path invented to satisfy the type.

egui 0.36, two:
  - TexturesDelta::set carries a SmallVec of deltas per id rather than one, so
    every delta for a texture has to be applied, not just the first.
  - epaint now panics when a TexturesDelta is dropped with deltas unapplied.
    The headless UI tests discard the frame output, so four of them failed
    until the harness clears the delta -- which is what the panic message asks
    for when the drop is deliberate.

cargo test passes (122 tests). fmt and clippy are deliberately not run: this
repo's ci.yml documents both as already failing on main, and gating a
dependency bump on a pre-existing red is what that comment exists to prevent.

Left alone: glam 0.33 deprecates Mat4::look_at_rh and perspective_rh in favour
of the new glam::camera paths. They still work, nothing gates the warning, and
swapping a projection matrix is the kind of change that is invisible until
someone looks at rendered geometry -- worth its own commit, not a rider on this.

Closes the work behind #8, #9, #10, #11, #12 and #13.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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 Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants