Skip to content

Bump wgpu from 24.0.3 to 26.0.1#35

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

Bump wgpu from 24.0.3 to 26.0.1#35
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wgpu-26.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jul 15, 2025

Bumps wgpu from 24.0.3 to 26.0.1.

Changelog

Sourced from wgpu's changelog.

v26.0.1 (2025-07-10)

Bug Fixes

  • Fixed build error inside wgpu::util::initialize_adapter_from_env when std feature is not enabled. By @​kpreid in #7918.
  • Fixed build error occurring when the profiling dependency is configured to have profiling active. By @​kpreid in #7916.
  • Emit a validation error instead of panicking when a query set index is OOB. By @​ErichDonGubler in #7908.

v26.0.0 (2025-07-09)

Major Features

New method TextureView::texture

You can now call texture_view.texture() to get access to the texture that a given texture view points to.

By @​cwfitzgerald and @​Wumpf in #7907.

as_hal calls now return guards instead of using callbacks.

Previously, if you wanted to get access to the wgpu-hal or underlying api types, you would call as_hal and get the hal type as a callback. Now the function returns a guard which dereferences to the hal type.

- device.as_hal::<hal::api::Vulkan>(|hal_device| {...});
+ let hal_device: impl Deref<Item = hal::vulkan::Device> = device.as_hal::<hal::api::Vulkan>();

By @​cwfitzgerald in #7863.

Enabling Vulkan Features/Extensions

For those who are doing vulkan/wgpu interop or passthrough and need to enable features/extensions that wgpu does not expose, there is a new wgpu_hal::vulkan::Adapter::open_with_callback that allows the user to modify the pnext chains and extension lists populated by wgpu before we create a vulkan device. This should vastly simplify the experience, as previously you needed to create a device yourself.

Underlying api interop is a quickly evolving space, so we welcome all feedback!

type VkApi = wgpu::hal::api::Vulkan;
let adapter: wgpu::Adapter = ...;
let mut buffer_device_address_create_info = ash::vk::PhysicalDeviceBufferDeviceAddressFeatures { .. };
let hal_device: wgpu::hal::OpenDevice<VkApi> = adapter
.as_hal::<VkApi>()
.unwrap()
.open_with_callback(
wgpu::Features::empty(),
&wgpu::MemoryHints::Performance,
Some(Box::new(|args| {
// Add the buffer device address extension.
args.extensions.push(ash::khr::buffer_device_address::NAME);
</tr></table>

... (truncated)

Commits
  • 0c978d0 Bump version to v26.0.1
  • b22d123 fix(core): check query set index before other validation (#7908)
  • dd32435 Fix initialize_adapter_from_env under no_std.
  • fb3abfc [ci] Check with profiling enabled.
  • 81e6875 Fix undeclared base in profiling scopes.
  • 03f1b53 Bump version to v26
  • 8ee66bd Update changelog for v26
  • a851eba Add TextureView::texture (#7907)
  • 13fec87 Added mesh shading spec (#7885)
  • f0d13b0 fix(cts): use correct comparison direction for Git version check (#7909)
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 24.0.3 to 26.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-v24.0.3...v26.0.1)

---
updated-dependencies:
- dependency-name: wgpu
  dependency-version: 26.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 Jul 15, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Oct 6, 2025

Superseded by #41.

@dependabot dependabot Bot closed this Oct 6, 2025
@dependabot dependabot Bot deleted the dependabot/cargo/wgpu-26.0.1 branch October 6, 2025 20:14
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