fix: update code for wgpu 29.0.0 API changes#351
Merged
telecos merged 2 commits intodependabot/cargo/wgpu-29.0.0from Mar 23, 2026
Merged
fix: update code for wgpu 29.0.0 API changes#351telecos merged 2 commits intodependabot/cargo/wgpu-29.0.0from
telecos merged 2 commits intodependabot/cargo/wgpu-29.0.0from
Conversation
- Wrap bind_group_layouts with Some() in lighting_shadows example - Update BufferViewMut usage to use copy_from_slice() method Co-authored-by: telecos <8853689+telecos@users.noreply.github.com> Agent-Logs-Url: https://github.com/telecos/wgpu_playground/sessions/b6484fcb-2696-4b95-b23a-9504ad32c026
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.
Fixes compilation failures after wgpu 28.0.0 → 29.0.0 upgrade due to breaking API changes.
Changes
Pipeline layouts:
bind_group_layoutsnow requires&[Option<&BindGroupLayout>]instead of&[&BindGroupLayout]lighting_shadows.rsto wrap bind group layout references withSome()Buffer mapping:
BufferViewMutno longer provides direct iteration - usecopy_from_slice()insteadbuffer_integration_test.rsto use the new API