Skip to content

Bump wgpu from 29.0.3 to 30.0.0#156

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wgpu-30.0.0
Open

Bump wgpu from 29.0.3 to 30.0.0#156
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wgpu-30.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 3, 2026

Copy link
Copy Markdown
Contributor

Bumps wgpu from 29.0.3 to 30.0.0.

Changelog

Sourced from wgpu's changelog.

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,
 }

GLSL:

-layout(location = 1) in int index;
+layout(location = 1) flat in int index;

By @​andyleiserson in #9321.

Empty buffer slices are now permitted

Creating a BufferSlice with a length of 0 no longer causes a panic.

Empty buffer slices can be:

... (truncated)

Commits
  • 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
  • 0853e7b fix: gate on static_dxc not static-dxc (#9785)
  • 979ab2b [core] IDed encoders needs to be dropped (#9782)
  • 0cc48c8 fix(core): Track initialization status of 3D textures (#9765)
  • a353ba9 Fix signed % wrong for negative operands on NVIDIA (OpSRem poison without mai...
  • 7877b76 [core] Move begin_*_pass to CommandEncoder and do only ID resolve in glob...
  • 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.3 to 30.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@v29.0.3...v30.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Labels

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

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

@dependabot dependabot Bot requested a review from sunsided as a code owner July 3, 2026 13:53
@kilo-code-bot

kilo-code-bot Bot commented Jul 3, 2026

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • room/Cargo.toml - wgpu version bump from 29 to 30
  • Cargo.lock - transitive dependency updates for wgpu 30 ecosystem

Notes

This is a clean semver-major dependency bump from wgpu 29.0.3 to 30.0.0. The existing source code in room/src/gpu.rs appears compatible with the documented wgpu 30 breaking changes:

  • VertexState.buffers uses &[] (empty slice), which is compatible with the new &[Option<&VertexBufferLayout>] type.
  • The embedded WGSL shader does not use integer shader I/O, so the @interpolate(flat) default removal is not applicable.
  • No empty buffer slice creation that would have relied on pre-v30 panic behavior.

Reviewed by kimi-k2.6-20260420 · Input: 122.6K · Output: 8.9K · Cached: 441.4K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants