fix: migrate source code to wgpu 29.0.0 API#350
Merged
telecos merged 3 commits intodependabot/cargo/wgpu-29.0.0from Mar 23, 2026
Merged
fix: migrate source code to wgpu 29.0.0 API#350telecos merged 3 commits intodependabot/cargo/wgpu-29.0.0from
telecos merged 3 commits intodependabot/cargo/wgpu-29.0.0from
Conversation
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>
a148be1 to
970121b
Compare
Co-authored-by: telecos <8853689+telecos@users.noreply.github.com> Agent-Logs-Url: https://github.com/telecos/wgpu_playground/sessions/ebb8ade2-172b-4293-90ab-789d04e089c8
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
[WIP] Update wgpu dependency from 28.0.0 to 29.0.0
fix: migrate source code to wgpu 29.0.0 API
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multiple breaking API changes in wgpu 29.0.0 caused build failures across the workspace. This PR updates all call sites to match the new API.
Dependency
wgpu-coreandwgpu-typesfrom28.0→29.0inCargo.toml(eliminates version conflict with wgpu 29's own transitive deps)Breaking API changes addressed
Instance::newnow takes ownedInstanceDescriptor(not&T);InstanceDescriptorno longer implementsDefault— replaced..Default::default()with..wgpu::InstanceDescriptor::new_without_display_handle()get_current_texturereturnsCurrentSurfaceTextureenum instead ofResult<SurfaceTexture, SurfaceError>. Introduced a localRenderErrorenum mappingLost/Outdated→ reconfigure andTimeout/Occluded/Validation→ skip frame:PipelineLayoutDescriptor::bind_group_layoutstype changed from&[&BindGroupLayout]→&[Option<&BindGroupLayout>]DepthStencilStatefieldsdepth_write_enabledanddepth_compareare nowOption<bool>andOption<CompareFunction>respectivelyFeatures::SHADER_PRIMITIVE_INDEXrenamed toFeatures::PRIMITIVE_INDEXLimits:max_uniform_buffer_binding_sizeandmax_storage_buffer_binding_sizechanged fromu32→u64;max_inter_stage_shader_componentsrenamed tomax_inter_stage_shader_variables📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.